summaryrefslogtreecommitdiffstats
path: root/src/glx/indirect_size.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/indirect_size.c')
-rw-r--r--src/glx/indirect_size.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/indirect_size.c b/src/glx/indirect_size.c
index 137e69cb044..90f887d5cbd 100644
--- a/src/glx/indirect_size.c
+++ b/src/glx/indirect_size.c
@@ -41,7 +41,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