summaryrefslogtreecommitdiff
path: root/src/glx/tests/fake_glx_screen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/tests/fake_glx_screen.cpp')
-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 ca0ca368053..e0f0b7c0db0 100644
--- a/src/glx/tests/fake_glx_screen.cpp
+++ b/src/glx/tests/fake_glx_screen.cpp
@@ -102,7 +102,7 @@ struct glx_context dummyContext = {
};
__thread void *__glX_tls_Context = &dummyContext;
-#if !defined(GLX_USE_TLS)
+#if !defined(USE_ELF_TLS)
extern "C" struct glx_context *
__glXGetCurrentContext()
{