Support llvm-mingw.

pull/669/head
K. S. Ernest (iFire) Lee 2021-10-19 22:03:26 -07:00
parent d627942b64
commit 5cf329a8dc
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@
#if !defined(GDE_EXPORT)
#if defined(_WIN32)
#define GDE_EXPORT __declspec(dllexport)
#elif defined(__GNUC__)
#elif defined(__GNUC__) && !defined(__MINGW32__)
#define GDE_EXPORT __attribute__((visibility("default")))
#else
#define GDE_EXPORT