summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2004-07-06 00:32:03 +0000
committerRoland Scheidegger <[email protected]>2004-07-06 00:32:03 +0000
commitd2dbb253726c48758b774877bbf53d87cdc165d8 (patch)
tree855fd772b714135ba9a55166bb7bd3ff4d780814 /src/mesa
parent1e7ce9f6f1766847fc783d54fcbc3195874e2723 (diff)
correct X86_DISPATCH_FUNCTION_SIZE if THREADS is defined
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/glapi/glapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/glapi/glapi.c b/src/mesa/glapi/glapi.c
index 6d35c03ce6d..d60570ca69b 100644
--- a/src/mesa/glapi/glapi.c
+++ b/src/mesa/glapi/glapi.c
@@ -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