Update config.h.win32.in

Make entries more in sync with the items checked with autotools, and
provide a MinGW declaration for _GLIB_EXTERN, taken from configure.ac.
This commit is contained in:
Chun-wei Fan 2013-08-21 11:04:37 +08:00
parent dacc0ad2d1
commit e05abaed04

View File

@ -890,7 +890,7 @@
#endif #endif
/* using the system-supplied PCRE library */ /* using the system-supplied PCRE library */
/* This is defined in the *_PCRE configurations */ /* This is defined in the *_PCRE MSVC project configs */
/* #undef USE_SYSTEM_PCRE */ /* #undef USE_SYSTEM_PCRE */
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
@ -914,10 +914,11 @@
/* #undef _FILE_OFFSET_BITS */ /* #undef _FILE_OFFSET_BITS */
/* defines how to decorate public symbols while building */ /* defines how to decorate public symbols while building */
#define _GLIB_EXTERN __declspec (dllexport) #ifdef _MSC_VER
#define _GLIB_EXTERN __declspec (dllexport) extern
/* Make all glibc extensions visible */ #else
/* #undef _GNU_SOURCE */ #define _GLIB_EXTERN __attribute__((visibility("default"))) __declspec (dllexport) extern
#endif
/* Define for large files, on AIX-style hosts. */ /* Define for large files, on AIX-style hosts. */
/* #undef _LARGE_FILES */ /* #undef _LARGE_FILES */