소스 검색

- avoid warning due to undefined preprocessor token

Bernhard Reutner-Fischer 18 년 전
부모
커밋
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>