diff --git a/glib/glibconfig.h.in b/glib/glibconfig.h.in index e9fc6c6d2..43e1ba122 100644 --- a/glib/glibconfig.h.in +++ b/glib/glibconfig.h.in @@ -130,11 +130,12 @@ typedef unsigned @glib_intptr_type_define@ guintptr; # undef G_HAVE_ISO_VARARGS #endif -#define G_HAVE_GNUC_VARARGS 1 - #mesondefine G_HAVE_GROWING_STACK -#define G_HAVE_GNUC_VISIBILITY 1 +#ifndef _MSC_VER +# define G_HAVE_GNUC_VARARGS 1 +# define G_HAVE_GNUC_VISIBILITY 1 +#endif #if defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590) #define G_GNUC_INTERNAL __attribute__((visibility("hidden")))