summaryrefslogtreecommitdiffstats
path: root/src/glx/tests
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-03-06 17:07:11 +0000
committerEmil Velikov <[email protected]>2015-03-06 17:07:11 +0000
commit5e3276f5c7bf1a363de710709737624634389858 (patch)
tree300eb22296bdd3c4a25213f89a5bee330f473c71 /src/glx/tests
parent1c1fd82b4b50fae4644e442b0c2a017f1e428610 (diff)
Revert "glx: remove support for non-multithreaded platforms"
This reverts commit 38591295cd4b68f89f257b20f476f98de3772a47. Not meant to go in yet. Lacking review.
Diffstat (limited to 'src/glx/tests')
-rw-r--r--src/glx/tests/fake_glx_screen.cpp2
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()
{