summaryrefslogtreecommitdiffstats
path: root/src/glx/indirect_size.c
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2010-03-03 16:15:42 -0800
committerIan Romanick <[email protected]>2010-03-03 16:26:32 -0800
commitf7dde2c131d8ec04c00f0dd3d7747019ff72a237 (patch)
tree884865a845d58e897c36871995096c4140a89ced /src/glx/indirect_size.c
parent6e8e4b918d1dac8a0c20e7a5d6f4665a1eaf174f (diff)
Remove support for GCC older than 3.3.0 from generated sources
Signed-off-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glx/indirect_size.c')
-rw-r--r--src/glx/indirect_size.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glx/indirect_size.c b/src/glx/indirect_size.c
index 6356ddd49b5..5a8f27ba92e 100644
--- a/src/glx/indirect_size.c
+++ b/src/glx/indirect_size.c
@@ -29,7 +29,7 @@
#include <GL/gl.h>
#include "indirect_size.h"
-# if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))
+# if defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))
# define PURE __attribute__((pure))
# else
# define PURE
@@ -41,7 +41,7 @@
# define FASTCALL
# endif
-# if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))) && defined(__ELF__)
+# if defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))) && defined(__ELF__)
# define INTERNAL __attribute__((visibility("internal")))
# else
# define INTERNAL