From 5e3276f5c7bf1a363de710709737624634389858 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Fri, 6 Mar 2015 17:07:11 +0000 Subject: Revert "glx: remove support for non-multithreaded platforms" This reverts commit 38591295cd4b68f89f257b20f476f98de3772a47. Not meant to go in yet. Lacking review. --- src/glx/tests/fake_glx_screen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/glx/tests') 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() { -- cgit v1.2.3