diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-07-31 13:33:18 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2007-07-31 13:33:18 +0000 |
commit | 32c075e1f01849e161724bbd400ba77244e482cc (patch) | |
tree | 5f083a3f352104f32bb6c902d57fa3f294bd8d4d /locale/localeinfo.h | |
parent | d6220e9ee38c1c9285221b023346201ec5f511b3 (diff) | |
download | glibc-32c075e1f01849e161724bbd400ba77244e482cc.zip glibc-32c075e1f01849e161724bbd400ba77244e482cc.tar.gz glibc-32c075e1f01849e161724bbd400ba77244e482cc.tar.bz2 |
.
Diffstat (limited to 'locale/localeinfo.h')
-rw-r--r-- | locale/localeinfo.h | 4 |
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 |