summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-05-20 08:46:37 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-05-20 08:46:37 +0000
commit6a9087f96b69f1b8cea5cee76a27784d2b131cd2 (patch)
tree0f25533d84885c4c273de4a864f23997e4f2b78c
parent2b8b40a2a7db2856a370cd4abb29581cd507b957 (diff)
- avoid warning due to undefined preprocessor token
-rw-r--r--libpthread/linuxthreads.old/sysdeps/pthread/bits/libc-tsd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/linuxthreads.old/sysdeps/pthread/bits/libc-tsd.h b/libpthread/linuxthreads.old/sysdeps/pthread/bits/libc-tsd.h
index ce56ea30d..2b889e621 100644
--- a/libpthread/linuxthreads.old/sysdeps/pthread/bits/libc-tsd.h
+++ b/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>