aboutsummaryrefslogtreecommitdiff
path: root/locale/localeinfo.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-07-31 13:33:18 +0000
committerJakub Jelinek <jakub@redhat.com>2007-07-31 13:33:18 +0000
commit32c075e1f01849e161724bbd400ba77244e482cc (patch)
tree5f083a3f352104f32bb6c902d57fa3f294bd8d4d /locale/localeinfo.h
parentd6220e9ee38c1c9285221b023346201ec5f511b3 (diff)
downloadglibc-32c075e1f01849e161724bbd400ba77244e482cc.zip
glibc-32c075e1f01849e161724bbd400ba77244e482cc.tar.gz
glibc-32c075e1f01849e161724bbd400ba77244e482cc.tar.bz2
.
Diffstat (limited to 'locale/localeinfo.h')
-rw-r--r--locale/localeinfo.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/locale/localeinfo.h b/locale/localeinfo.h
index 5c1f27f..4f746a2 100644
--- a/locale/localeinfo.h
+++ b/locale/localeinfo.h
@@ -215,7 +215,9 @@ __libc_tsd_define (extern, LOCALE)
we can use __thread variables. So only in that case do we attempt this. */
#if !defined SHARED && defined HAVE___THREAD && defined HAVE_WEAK_SYMBOLS
# include <tls.h>
-# define NL_CURRENT_INDIRECT 1
+# if USE_TLS
+# define NL_CURRENT_INDIRECT 1
+# endif
#endif
#ifdef NL_CURRENT_INDIRECT