OSDN Git Service

- avoid warning due to undefined preprocessor token
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 20 May 2008 08:46:37 +0000 (08:46 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 20 May 2008 08:46:37 +0000 (08:46 -0000)
libpthread/linuxthreads.old/sysdeps/pthread/bits/libc-tsd.h

index ce56ea3..2b889e6 100644 (file)
@@ -37,7 +37,7 @@ enum __libc_tsd_key_t { _LIBC_TSD_KEY_MALLOC = 0,
 
 #include <linuxthreads.old/internals.h>
 
-#if USE_TLS && HAVE___THREAD
+#if defined(USE_TLS) && USE_TLS && HAVE___THREAD
 
 /* When __thread works, the generic definition is what we want.  */
 # include <sysdeps/generic/bits/libc-tsd.h>