diff options
author | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2009-10-13 16:51:14 -0500 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2010-01-04 11:37:54 +1000 |
commit | d02f4b124489016f43478ac2ca2fbb2d0253ba02 (patch) | |
tree | c096e38607fc11293a7d0e24bba5eb3ec41145b1 /Xfuncproto.h.in | |
parent | ec13f2cc5af936aafc3a483f441c44aa5ed14fe3 (diff) |
xproto: Cygwin GCC does not support visibility attributes
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xfuncproto.h.in')
-rw-r--r-- | Xfuncproto.h.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xfuncproto.h.in b/Xfuncproto.h.in index 0843491..afdd95b 100644 --- a/Xfuncproto.h.in +++ b/Xfuncproto.h.in @@ -83,7 +83,7 @@ in this Software without prior written authorization from The Open Group. # define _X_ATTRIBUTE_PRINTF(x,y) #endif /* GNUC >= 4 */ -#if defined(__GNUC__) && (__GNUC__ >= 4) +#if defined(__GNUC__) && (__GNUC__ >= 4) && !defined(__CYGWIN__) # define _X_EXPORT __attribute__((visibility("default"))) # define _X_HIDDEN __attribute__((visibility("hidden"))) # define _X_INTERNAL __attribute__((visibility("internal"))) |