summaryrefslogtreecommitdiff
path: root/src/glx/x11/glxext.c
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2005-08-03 23:05:25 +0000
committerIan Romanick <idr@us.ibm.com>2005-08-03 23:05:25 +0000
commit711555d1e347f0e64e6b1b2d0e402e0ee72ace07 (patch)
treef924099e8068be7e4b605466bcb1e81f03cc9d1c /src/glx/x11/glxext.c
parent7f5925d57c1405ff40acb2fd40b41ab4f189f7a4 (diff)
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.
Diffstat (limited to 'src/glx/x11/glxext.c')
-rw-r--r--src/glx/x11/glxext.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glx/x11/glxext.c b/src/glx/x11/glxext.c
index 89130a58f8..bb6d6ccd0c 100644
--- a/src/glx/x11/glxext.c
+++ b/src/glx/x11/glxext.c
@@ -145,7 +145,7 @@ static __GLapi *IndirectAPI = NULL;
* Current context management and locking
*/
-#if defined( XTHREADS )
+#if defined( USE_XTHREADS )
/* thread safe */
static GLboolean TSDinitialized = GL_FALSE;
@@ -1106,7 +1106,7 @@ __GLXdisplayPrivate *__glXInitialize(Display* dpy)
XEDataObject dataObj;
int major, minor;
-#if defined(XTHREADS)
+#if defined(USE_XTHREADS)
{
static int firstCall = 1;
if (firstCall) {