From c0d697ffddf14117541e7021c3b80b25c4536f6f Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Mon, 15 Oct 2012 02:16:46 -0500 Subject: Do not use visibility attributes on MinGW Signed-off-by: Yaakov Selkowitz Reviewed-by: Colin Harrison Tested-by: Colin Harrison --- Xfuncproto.h.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Xfuncproto.h.in b/Xfuncproto.h.in index 3eac5d5..8256fec 100644 --- a/Xfuncproto.h.in +++ b/Xfuncproto.h.in @@ -83,7 +83,7 @@ in this Software without prior written authorization from The Open Group. #endif /* GNUC >= 4 */ /* Added in X11R6.9, so available in any version of modular xproto */ -#if defined(__GNUC__) && (__GNUC__ >= 4) && !defined(__CYGWIN__) +#if defined(__GNUC__) && (__GNUC__ >= 4) && !defined(__CYGWIN__) && !defined(__MINGW32__) # define _X_EXPORT __attribute__((visibility("default"))) # define _X_HIDDEN __attribute__((visibility("hidden"))) # define _X_INTERNAL __attribute__((visibility("internal"))) -- cgit v1.2.3