summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2009-01-08 11:11:26 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2009-01-08 11:11:26 +0000
commitccd55d094002867e39df6b9508d0a9ced1d85bc6 (patch)
treee4ff44af05aacef3e3db1976e9729dfa8d17d8f9 /include
parent350e4e14d811d6fcfff067989061309355ea8881 (diff)
Silent compiler warning regarding undefined macro
Diffstat (limited to 'include')
-rw-r--r--include/tls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tls.h b/include/tls.h
index a1da3827b..f88af405b 100644
--- a/include/tls.h
+++ b/include/tls.h
@@ -5,7 +5,7 @@
#include_next <tls.h>
-#if USE_TLS && HAVE___THREAD \
+#if defined USE_TLS && USE_TLS && HAVE___THREAD \
&& (!defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt)
# define USE___THREAD 1