summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Jackson <[email protected]>2005-01-23 03:54:38 +0000
committerAdam Jackson <[email protected]>2005-01-23 03:54:38 +0000
commit999534216d14d85c7f07641dfa37f1aff28d2103 (patch)
tree70a37404fbdc1077fc15d81623f00dfd4d0eef82
parente82d5f2be944b1b4cbdfa5d531657766d427a34f (diff)
HAVE_ALIAS was never defined anywhere, add some logic to turn it on
automagically.
-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 2063f38c995..2a1a54408e1 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