diff options
author | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2012-02-08 21:00:15 +0000 |
---|---|---|
committer | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2012-02-08 21:00:15 +0000 |
commit | 57b48fb6851072cce536d60ebf68fde8153b247b (patch) | |
tree | 3a5f01be9839eb62b7f3cc452ff18d3ab54e92e8 /libc/locale | |
parent | 78be84cd747c2e3965bf6c2fd5f702d6ff2f5525 (diff) |
* locale/localeinfo.h: Condition <tls.h> include and
NL_CURRENT_INDIRECT define on !defined IN_GLIBC_LOCALEDEF.
git-svn-id: svn://svn.eglibc.org/trunk@17052 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/locale')
-rw-r--r-- | libc/locale/localeinfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/locale/localeinfo.h b/libc/locale/localeinfo.h index 3c989ea4f..c46763e3f 100644 --- a/libc/locale/localeinfo.h +++ b/libc/locale/localeinfo.h @@ -216,7 +216,7 @@ __libc_tsd_define (extern, __locale_t, LOCALE) unused. We can manage this playing some tricks with weak references. But with thread-local locale settings, it becomes quite ungainly unless we can use __thread variables. So only in that case do we attempt this. */ -#ifndef SHARED +#if !defined SHARED && !defined IN_GLIBC_LOCALEDEF # include <tls.h> # define NL_CURRENT_INDIRECT 1 #endif |