Update config.h.win32(.in)

Define _GDK_EXTERN more in line with the definition of it on Windows as
defined in configure.ac, and add a MinGW variant for it as well
This commit is contained in:
Chun-wei Fan 2013-08-30 13:48:12 +08:00
parent d8440d6373
commit 6278c40451

View File

@ -305,7 +305,11 @@
/* #undef _FILE_OFFSET_BITS */
/* defines how to decorate public symbols while building */
#define _GDK_EXTERN __declspec (dllexport)
#ifdef _MSC_VER
#define _GDK_EXTERN __declspec (dllexport) extern
#else
#define _GDK_EXTERN __attribute__((visibility("default"))) __declspec (dllexport) extern
#endif
/* Define for large files, on AIX-style hosts. */
/* #undef _LARGE_FILES */