4 #if defined _WIN32 || defined __CYGWIN__
8 #define DLL_PUBLIC __attribute__((dllexport))
12 dllexport) // Note: actually gcc seems to also supports this syntax.
16 #define DLL_PUBLIC __attribute__((dllimport))
20 dllimport) // Note: actually gcc seems to also supports this syntax.
28 #define DLL_PUBLIC __attribute__((visibility("default")))
29 #define DLL_LOCAL __attribute__((visibility("hidden")))