diff options
Diffstat (limited to 'src/glx/tests/fake_glx_screen.cpp')
-rw-r--r-- | src/glx/tests/fake_glx_screen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/tests/fake_glx_screen.cpp b/src/glx/tests/fake_glx_screen.cpp index db20749505c..ccb1afae47d 100644 --- a/src/glx/tests/fake_glx_screen.cpp +++ b/src/glx/tests/fake_glx_screen.cpp @@ -77,7 +77,7 @@ indirect_create_context_attribs(struct glx_screen *base, __thread void *__glX_tls_Context = NULL; -#if !defined(GLX_USE_TLS) +#if defined(HAVE_PTHREAD) && !defined(GLX_USE_TLS) extern "C" struct glx_context * __glXGetCurrentContext() { |