Преглед изворни кода

- avoid warning due to undefined preprocessor token

Bernhard Reutner-Fischer пре 17 година
родитељ
комит
6a9087f96b
1 измењених фајлова са 1 додато и 1 уклоњено
  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>