瀏覽代碼

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