correct X86_DISPATCH_FUNCTION_SIZE if THREADS is defined
authorRoland Scheidegger <rscheidegger@gmx.ch>
Tue, 6 Jul 2004 00:32:03 +0000 (00:32 +0000)
committerRoland Scheidegger <rscheidegger@gmx.ch>
Tue, 6 Jul 2004 00:32:03 +0000 (00:32 +0000)
src/mesa/glapi/glapi.c

index 6d35c03ce6d95fa7e12d9e7fc9c779f4b97521f8..d60570ca69bbaeb7d2a52d958623cac05248bcf3 100644 (file)
@@ -502,7 +502,7 @@ get_static_proc_offset(const char *funcName)
 #ifdef USE_X86_ASM
 extern const GLubyte gl_dispatch_functions_start[];
 
-# if defined(PTHREADS)
+# if defined(THREADS)
 #  define X86_DISPATCH_FUNCTION_SIZE  32
 # else
 #  define X86_DISPATCH_FUNCTION_SIZE  16