Explorar el Código

Silent compiler warning regarding undefined macro

Carmelo Amoroso hace 16 años
padre
commit
ccd55d0940
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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