summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam Jackson <ajax@freedesktop.org>2005-01-23 03:54:38 +0000
committerAdam Jackson <ajax@freedesktop.org>2005-01-23 03:54:38 +0000
commit999534216d14d85c7f07641dfa37f1aff28d2103 (patch)
tree70a37404fbdc1077fc15d81623f00dfd4d0eef82 /src
parente82d5f2be944b1b4cbdfa5d531657766d427a34f (diff)
HAVE_ALIAS was never defined anywhere, add some logic to turn it on
automagically.
Diffstat (limited to 'src')
-rw-r--r--src/glx/x11/indirect_size.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glx/x11/indirect_size.c b/src/glx/x11/indirect_size.c
index 2063f38c99..2a1a54408e 100644
--- a/src/glx/x11/indirect_size.c
+++ b/src/glx/x11/indirect_size.c
@@ -29,6 +29,10 @@
#include <GL/gl.h>
#include "indirect_size.h"
+# if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
+# define HAVE_ALIAS
+# endif
+
# if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)
# define PURE __attribute__((pure))
# else