diff options
author | Matt Turner <[email protected]> | 2012-09-18 22:09:26 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2012-10-01 15:23:04 -0700 |
commit | 814345f54b74eee2597cf84f3c34817488f07522 (patch) | |
tree | 5a425f04b4fed603ac58f7f47a3faeaf79bc487c /src/glx/glxcurrent.c | |
parent | b6651ae6ad314a93287e431a41f5c7a8f8f6c855 (diff) |
build: Use AX_PTHREAD's HAVE_PTHREAD preprocessor definition
Diffstat (limited to 'src/glx/glxcurrent.c')
-rw-r--r-- | src/glx/glxcurrent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glx/glxcurrent.c b/src/glx/glxcurrent.c index c92a2fd3cc2..3d8893cf9af 100644 --- a/src/glx/glxcurrent.c +++ b/src/glx/glxcurrent.c @@ -33,7 +33,7 @@ * Client-side GLX interface for current context management. */ -#ifdef PTHREADS +#ifdef HAVE_PTHREAD #include <pthread.h> #endif @@ -73,7 +73,7 @@ struct glx_context dummyContext = { * Current context management and locking */ -#if defined( PTHREADS ) +#if defined( HAVE_PTHREAD ) _X_HIDDEN pthread_mutex_t __glXmutex = PTHREAD_MUTEX_INITIALIZER; |