Import Upstream version 2.72.4
This commit is contained in:
commit
4ef3ff9793
2003 changed files with 1332420 additions and 0 deletions
20
gio/tests/modules/symbol-visibility.h
Normal file
20
gio/tests/modules/symbol-visibility.h
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#ifndef GLIB_TEST_SYMBOL_VISIBILITY
|
||||
#define GLIB_TEST_SYMBOL_VISIBILITY
|
||||
|
||||
/* This is the same check that's done in configure to create config.h */
|
||||
#ifdef _WIN32
|
||||
#ifdef GLIB_STATIC_COMPILATION
|
||||
#define GLIB_TEST_EXPORT_SYMBOL extern
|
||||
#else
|
||||
#ifdef _MSC_VER
|
||||
#define GLIB_TEST_EXPORT_SYMBOL __declspec(dllexport) extern
|
||||
#else
|
||||
#define GLIB_TEST_EXPORT_SYMBOL __attribute__ ((visibility ("default"))) __declspec(dllexport) extern
|
||||
#endif
|
||||
#endif
|
||||
/* Matches GCC and Clang */
|
||||
#elif defined(__GNUC__) && (__GNUC__ >= 4)
|
||||
# define GLIB_TEST_EXPORT_SYMBOL __attribute__((visibility("default"))) extern
|
||||
#endif
|
||||
|
||||
#endif /* GLIB_TEST_SYMBOL_VISIBILITY */
|
||||
Loading…
Add table
Add a link
Reference in a new issue