aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/glx/indirect_size.h
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/glx/indirect_size.h')
-rw-r--r--xorg-server/glx/indirect_size.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/glx/indirect_size.h b/xorg-server/glx/indirect_size.h
index a1b1b3fd0..df7371380 100644
--- a/xorg-server/glx/indirect_size.h
+++ b/xorg-server/glx/indirect_size.h
@@ -48,7 +48,7 @@
# define FASTCALL
# endif
-# if defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)) && defined(__ELF__)
+# if (defined(__GNUC__) && !defined(__CYGWIN__) && !defined(__MINGW32__)) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590) && defined(__ELF__))
# define INTERNAL __attribute__((visibility("internal")))
# else
# define INTERNAL