summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/glapitemp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapi/glapi/glapitemp.h')
-rw-r--r--src/mapi/glapi/glapitemp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapi/glapi/glapitemp.h b/src/mapi/glapi/glapitemp.h
index 4eb4861597b..0f49b334aa8 100644
--- a/src/mapi/glapi/glapitemp.h
+++ b/src/mapi/glapi/glapitemp.h
@@ -27,7 +27,7 @@
*/
-# 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