aboutsummaryrefslogtreecommitdiffstats
path: root/src/glx
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-05-02 12:42:52 +0200
committerMarek Olšák <[email protected]>2011-05-03 00:35:50 +0200
commit3be1c7f2601a4e8accfa653a095a716b18cf3710 (patch)
tree908e035c1c6682cd3287c7db477f778b11ff2a9d /src/glx
parent9ecb46f59e72acbd054d000b41b1258623af35f9 (diff)
glapi: regenerate files for AMD_draw_buffers_blend
Diffstat (limited to 'src/glx')
-rw-r--r--src/glx/indirect.h2
-rw-r--r--src/glx/indirect_size.c2
-rw-r--r--src/glx/indirect_size.h2
3 files changed, 3 insertions, 3 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
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
diff --git a/src/glx/indirect_size.h b/src/glx/indirect_size.h
index 9857b6c75e6..768765fb202 100644
--- a/src/glx/indirect_size.h
+++ b/src/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