1 #ifndef GLIB_TEST_SYMBOL_VISIBILITY
2 #define GLIB_TEST_SYMBOL_VISIBILITY
4 /* This is the same check that's done in configure to create config.h */
7 # define GLIB_TEST_EXPORT_SYMBOL __declspec(dllexport) extern
9 # define GLIB_TEST_EXPORT_SYMBOL __attribute__((visibility("default"))) __declspec(dllexport) extern
11 /* Matches GCC and Clang */
12 #elif defined(__GNUC__) && (__GNUC__ >= 4)
13 # define GLIB_TEST_EXPORT_SYMBOL __attribute__((visibility("default"))) extern
16 #endif /* GLIB_TEST_SYMBOL_VISIBILITY */