summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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