From: Adam Jackson Date: Sun, 23 Jan 2005 03:54:38 +0000 (+0000) Subject: HAVE_ALIAS was never defined anywhere, add some logic to turn it on X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=999534216d14d85c7f07641dfa37f1aff28d2103;p=mesa.git HAVE_ALIAS was never defined anywhere, add some logic to turn it on automagically. --- 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 #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