summaryrefslogtreecommitdiff
path: root/src/mesa/glapi/glX_proto_size.py
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2005-08-11 20:29:45 +0000
committerIan Romanick <idr@us.ibm.com>2005-08-11 20:29:45 +0000
commitf2876d1ee3b878a07b12ddcb464633a44f7c29e7 (patch)
tree9e46feeaeb58aa5484ff2a11f6632bea84bcca29 /src/mesa/glapi/glX_proto_size.py
parentfbcc5aedf2a06e14030a3e67d2be9fd043e3cf38 (diff)
Remove the logic that determines at compile time whether or not HAVE_ALIAS
should be defined. It was flawed on some platforms (e.g., Darwin & mingw). Instead, rely on the build system to define it on the compiler command line. This also reverts ajax's hand-edit to indirect_size.c. I'll fix that on the X.org side of things later today.
Diffstat (limited to 'src/mesa/glapi/glX_proto_size.py')
-rw-r--r--src/mesa/glapi/glX_proto_size.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/glapi/glX_proto_size.py b/src/mesa/glapi/glX_proto_size.py
index b097fed0eb..d4c8b553e4 100644
--- a/src/mesa/glapi/glX_proto_size.py
+++ b/src/mesa/glapi/glX_proto_size.py
@@ -313,8 +313,6 @@ class PrintGlxSizeStubs_c(PrintGlxSizeStubs_common):
print '#include "indirect_size.h"'
print ''
- self.printHaveAlias()
- print ''
self.printPure()
print ''
self.printFastcall()
@@ -437,8 +435,6 @@ class PrintGlxReqSize_c(PrintGlxReqSize_common):
print ''
print '#define __GLX_PAD(x) (((x) + 3) & ~3)'
print ''
- self.printHaveAlias()
- print ''
print '#ifdef HAVE_ALIAS'
print '# define ALIAS2(from,to) \\'
print ' GLint __glX ## from ## ReqSize( const GLbyte * pc, Bool swap ) \\'