HAVE_ALIAS was never defined anywhere, add some logic to turn it on
authorAdam Jackson <ajax@freedesktop.org>
Sun, 23 Jan 2005 03:54:38 +0000 (03:54 +0000)
committerAdam Jackson <ajax@freedesktop.org>
Sun, 23 Jan 2005 03:54:38 +0000 (03:54 +0000)
automagically.

src/glx/x11/indirect_size.c

index 2063f38c995048abfb06a5ed0ffc8ac85673741d..2a1a54408e11a8ccdbbaaad6608c88aff9afecbe 100644 (file)
 #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