Browse Source

- avoid warning due to undefined preprocessor token

Bernhard Reutner-Fischer 17 years ago
parent
commit
6a9087f96b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libpthread/linuxthreads.old/sysdeps/pthread/bits/libc-tsd.h

+ 1 - 1
libpthread/linuxthreads.old/sysdeps/pthread/bits/libc-tsd.h

@@ -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>