summaryrefslogtreecommitdiff
path: root/lib/mesa/src/mapi/glapi/gen/gl_x86_asm.py
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2017-12-31 07:12:27 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2017-12-31 07:12:27 +0000
commit051645c92924bf915d82bf219f2ed67309b5577a (patch)
tree4aae126dd8e5a18c6a9926a5468d1561e6038a07 /lib/mesa/src/mapi/glapi/gen/gl_x86_asm.py
parent2dae6fe6f74cf7fb9fd65285302c0331d9786b00 (diff)
Merge Mesa 17.2.8
Diffstat (limited to 'lib/mesa/src/mapi/glapi/gen/gl_x86_asm.py')
-rw-r--r--lib/mesa/src/mapi/glapi/gen/gl_x86_asm.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/mesa/src/mapi/glapi/gen/gl_x86_asm.py b/lib/mesa/src/mapi/glapi/gen/gl_x86_asm.py
index c0c7941ce..24c15a708 100644
--- a/lib/mesa/src/mapi/glapi/gen/gl_x86_asm.py
+++ b/lib/mesa/src/mapi/glapi/gen/gl_x86_asm.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# (C) Copyright IBM Corporation 2004, 2005
# All Rights Reserved.
@@ -120,7 +119,7 @@ class PrintGenericStubs(gl_XML.gl_print_base):
print '\tJMP(GL_OFFSET(off))'
print '#endif'
print ''
- print '#ifdef HAVE_ALIAS'
+ print '#ifdef HAVE_FUNC_ATTRIBUTE_ALIAS'
print '# define GL_STUB_ALIAS(fn,off,fn_alt,alias,alias_alt)\t\\'
print '\t.globl\tGL_PREFIX(fn, fn_alt) ;\t\t\t\\'
print '\t.set\tGL_PREFIX(fn, fn_alt), GL_PREFIX(alias, alias_alt)'