summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/tls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tls.h b/include/tls.h
index a1da3827b..f88af405b 100644
--- a/include/tls.h
+++ b/include/tls.h
@@ -5,7 +5,7 @@
#include_next <tls.h>
-#if USE_TLS && HAVE___THREAD \
+#if defined USE_TLS && USE_TLS && HAVE___THREAD \
&& (!defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt)
# define USE___THREAD 1