glapi: add gl_dispatch_functions_start and end
authorTobias Jakobi <liquid.acid@gmx.net>
Wed, 24 Sep 2008 02:38:19 +0000 (21:38 -0500)
committerKeith Whitwell <keith@tungstengraphics.com>
Sat, 27 Sep 2008 07:47:55 +0000 (08:47 +0100)
src/mesa/glapi/glapi.c

index 09aaea3d93a6ca2f4c6c4e571089836b2aa553ee..c92b096f68ed333d4f6fe149c5108c2b8592349a 100644 (file)
@@ -290,6 +290,16 @@ _glapi_get_context(void)
 #endif
 }
 
+#ifdef USE_X86_ASM
+
+#if defined( GLX_USE_TLS )
+extern       GLubyte gl_dispatch_functions_start[];
+extern       GLubyte gl_dispatch_functions_end[];
+#else
+extern const GLubyte gl_dispatch_functions_start[];
+#endif
+
+#endif /* USE_X86_ASM */
 
 
 #if defined(PTHREADS) || defined(GLX_USE_TLS)