From 711555d1e347f0e64e6b1b2d0e402e0ee72ace07 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Wed, 3 Aug 2005 23:05:25 +0000 Subject: Convert all instances of XTHREADS to USE_XTHREADS. This fixes one of serveral things that are broken when building on a system with X.org 7.0rc0 installed. --- src/mesa/glapi/glthread.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mesa/glapi/glthread.h') diff --git a/src/mesa/glapi/glthread.h b/src/mesa/glapi/glthread.h index 503bb44abdf..71e5f339786 100644 --- a/src/mesa/glapi/glthread.h +++ b/src/mesa/glapi/glthread.h @@ -65,7 +65,7 @@ #if (defined(PTHREADS) || defined(SOLARIS_THREADS) ||\ - defined(WIN32_THREADS) || defined(XTHREADS) || defined(BEOS_THREADS)) \ + defined(WIN32_THREADS) || defined(USE_XTHREADS) || defined(BEOS_THREADS)) \ && !defined(THREADS) # define THREADS #endif @@ -193,7 +193,7 @@ typedef CRITICAL_SECTION _glthread_Mutex; * XFree86 has its own thread wrapper, Xthreads.h * We wrap it again for GL. */ -#ifdef XTHREADS +#ifdef USE_XTHREADS #include typedef struct { @@ -225,7 +225,7 @@ typedef xmutex_rec _glthread_Mutex; #define _glthread_UNLOCK_MUTEX(name) \ (void) xmutex_unlock(&(name)) -#endif /* XTHREADS */ +#endif /* USE_XTHREADS */ -- cgit v1.2.3