summaryrefslogtreecommitdiffstats
path: root/src/glx/indirect.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/indirect.h')
-rw-r--r--src/glx/indirect.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/indirect.h b/src/glx/indirect.h
index 22bdb827d96..5c9bd6f9ea2 100644
--- a/src/glx/indirect.h
+++ b/src/glx/indirect.h
@@ -37,7 +37,7 @@
* \author Ian Romanick <[email protected]>
*/
-# 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 HIDDEN __attribute__((visibility("hidden")))
# else
# define HIDDEN