summaryrefslogtreecommitdiff
path: root/src/glx/x11/indirect_size.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@freedesktop.org>2005-08-26 17:50:39 +0000
committerAdam Jackson <ajax@freedesktop.org>2005-08-26 17:50:39 +0000
commitca1ac986a1d6d3f292e3d20540de884ad08d9816 (patch)
treebf0126b4f7bbfbf114169f13c733c628e7223cb4 /src/glx/x11/indirect_size.c
parentf4166a1fd76935f358c2db900c21b3532ba9d6a8 (diff)
/dri/msg
Diffstat (limited to 'src/glx/x11/indirect_size.c')
-rw-r--r--src/glx/x11/indirect_size.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glx/x11/indirect_size.c b/src/glx/x11/indirect_size.c
index 438d545b6b..79d57d55b6 100644
--- a/src/glx/x11/indirect_size.c
+++ b/src/glx/x11/indirect_size.c
@@ -41,14 +41,14 @@
# define FASTCALL
# endif
-# if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && !defined(__CYGWIN__) && !defined(__MINGW32__)
+# if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && defined(__ELF__)
# define INTERNAL __attribute__((visibility("internal")))
# else
# define INTERNAL
# endif
-#if defined(__CYGWIN__) || defined(__MINGW32__)
+#if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__APPLE__)
# undef HAVE_ALIAS
#endif
#ifdef HAVE_ALIAS