Browse Source

Silent compiler warning regarding undefined macro

Carmelo Amoroso 16 years ago
parent
commit
ccd55d0940
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/tls.h

+ 1 - 1
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