Squashed commit of the following:
[mesa.git] / src / glx / indirect_size.c
index 137e69cb044a89b12a0998e8e0ba5936c6ef65a8..90f887d5cbd650c4c6f0191dc63e9480292f7fda 100644 (file)
@@ -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