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/egl/main/eglcurrent.c | |
parent | b6651ae6ad314a93287e431a41f5c7a8f8f6c855 (diff) |
build: Use AX_PTHREAD's HAVE_PTHREAD preprocessor definition
Diffstat (limited to 'src/egl/main/eglcurrent.c')
-rw-r--r-- | src/egl/main/eglcurrent.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/egl/main/eglcurrent.c b/src/egl/main/eglcurrent.c index 2e2185fa510..5b09a480772 100644 --- a/src/egl/main/eglcurrent.c +++ b/src/egl/main/eglcurrent.c @@ -42,7 +42,7 @@ static _EGLThreadInfo dummy_thread = _EGL_THREAD_INFO_INITIALIZER; -#if PTHREADS +#if HAVE_PTHREAD #include <pthread.h> static _EGL_DECLARE_MUTEX(_egl_TSDMutex); @@ -108,7 +108,7 @@ static INLINE EGLBoolean _eglInitTSD(void (*dtor)(_EGLThreadInfo *)) return EGL_TRUE; } -#else /* PTHREADS */ +#else /* HAVE_PTHREAD */ static const _EGLThreadInfo *_egl_TSD; static void (*_egl_FreeTSD)(_EGLThreadInfo *); @@ -137,7 +137,7 @@ static INLINE EGLBoolean _eglInitTSD(void (*dtor)(_EGLThreadInfo *)) return EGL_TRUE; } -#endif /* !PTHREADS */ +#endif /* !HAVE_PTHREAD */ static void |