aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/gen/glX_proto_send.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/glapi/gen/glX_proto_send.py')
-rw-r--r--src/mesa/glapi/gen/glX_proto_send.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/glapi/gen/glX_proto_send.py b/src/mesa/glapi/gen/glX_proto_send.py
index 4d484c833a8..c52b85bfb4f 100644
--- a/src/mesa/glapi/gen/glX_proto_send.py
+++ b/src/mesa/glapi/gen/glX_proto_send.py
@@ -182,7 +182,7 @@ class PrintGlxProtoStubs(glX_proto_common.glx_print_proto):
self.printFastcall()
self.printNoinline()
print ''
- print '#if !defined __GNUC__ || __GNUC__ < 3'
+ print '#ifndef __GNUC__'
print '# define __builtin_expect(x, y) x'
print '#endif'
print ''