summaryrefslogtreecommitdiff
path: root/src/mesa/glapi/gen/gl_x86-64_asm.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/glapi/gen/gl_x86-64_asm.py')
-rw-r--r--src/mesa/glapi/gen/gl_x86-64_asm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/glapi/gen/gl_x86-64_asm.py b/src/mesa/glapi/gen/gl_x86-64_asm.py
index 8ac57ab7eb..e6e78c42f3 100644
--- a/src/mesa/glapi/gen/gl_x86-64_asm.py
+++ b/src/mesa/glapi/gen/gl_x86-64_asm.py
@@ -124,7 +124,7 @@ class PrintGenericStubs(gl_XML.gl_print_base):
print ''
print '#include "x86/assyntax.h"'
print ''
- print '#if defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 303'
+ print '#ifdef __GNUC__'
print '# pragma GCC visibility push(default)'
print '# define HIDDEN(x) .hidden x'
print '#else'