From 32c075e1f01849e161724bbd400ba77244e482cc Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 31 Jul 2007 13:33:18 +0000 Subject: . --- locale/localeinfo.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'locale/localeinfo.h') diff --git a/locale/localeinfo.h b/locale/localeinfo.h index 5c1f27f7e1..4f746a298d 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 -# define NL_CURRENT_INDIRECT 1 +# if USE_TLS +# define NL_CURRENT_INDIRECT 1 +# endif #endif #ifdef NL_CURRENT_INDIRECT -- cgit v1.2.3