about summary refs log tree commit diff
path: root/locale/global-locale.c
diff options
context:
space:
mode:
Diffstat (limited to 'locale/global-locale.c')
-rw-r--r--locale/global-locale.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/locale/global-locale.c b/locale/global-locale.c
index 70f10ab5ae..bec7498dae 100644
--- a/locale/global-locale.c
+++ b/locale/global-locale.c
@@ -58,6 +58,10 @@ __thread void *__libc_tsd_LOCALE = &_nl_global_locale;
 #else
 __libc_tsd_define (, LOCALE)
 /* This is a bad kludge presuming the variable name used by the macros.
-   Using typeof makes sure to barf if we do not match the macro definition.  */
+   Using typeof makes sure to barf if we do not match the macro definition.
+   This ifndef is a further bad kludge for Hurd, where there is an explicit
+   initialization.  */
+# ifndef _HURD_THREADVAR_H
 __typeof (__libc_tsd_LOCALE_data) __libc_tsd_LOCALE_data = &_nl_global_locale;
+# endif
 #endif