summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/glx/glxcurrent.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glx/glxcurrent.c b/src/glx/glxcurrent.c
index 86fb658ca5..dc2acd5e2a 100644
--- a/src/glx/glxcurrent.c
+++ b/src/glx/glxcurrent.c
@@ -138,6 +138,10 @@ __glXGetCurrentContext(void)
# endif /* defined( GLX_USE_TLS ) */
+#elif defined( THREADS )
+
+#error Unknown threading method specified.
+
#else
/* not thread safe */