diff options
author | Ian Romanick <[email protected]> | 2004-06-29 19:08:20 +0000 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2004-06-29 19:08:20 +0000 |
commit | 8e77da1cd7d63af5e7ffcf7ea220cdaf1bdc8162 (patch) | |
tree | 0c4880d81a752b0ded4c75374cba6caa77e971da /src/mesa/glapi/gl_apitemp.py | |
parent | c61c7cb8e4100476d5feb976c39a23b1ed7b564a (diff) |
First phase of TLS work. At this point SPARC assembly dispatch is
broken, but it will be fixed "shortly." This is pretty much the same
as the patch I sent to the dri-devel list on 22-Jun-2004.
Diffstat (limited to 'src/mesa/glapi/gl_apitemp.py')
-rw-r--r-- | src/mesa/glapi/gl_apitemp.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/glapi/gl_apitemp.py b/src/mesa/glapi/gl_apitemp.py index b210c704a74..b8b32ac3624 100644 --- a/src/mesa/glapi/gl_apitemp.py +++ b/src/mesa/glapi/gl_apitemp.py @@ -112,6 +112,7 @@ class PrintGlOffsets(gl_XML.FilterGLAPISpecBase): */ +#if defined( NAME ) #ifndef KEYWORD1 #define KEYWORD1 #endif @@ -120,10 +121,6 @@ class PrintGlOffsets(gl_XML.FilterGLAPISpecBase): #define KEYWORD2 #endif -#ifndef NAME -#error NAME must be defined -#endif - #ifndef DISPATCH #error DISPATCH must be defined #endif @@ -140,6 +137,7 @@ GLAPI void GLAPIENTRY gl__unused413(void); /* silence warning */ def printInitDispatch(self): print """ +#endif /* defined( NAME ) */ /* * This is how a dispatch table can be initialized with all the functions |