diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/locale.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/locale.h b/include/locale.h index cd0028f26a8..27937bd9ba4 100644 --- a/include/locale.h +++ b/include/locale.h @@ -1,4 +1,4 @@ -/* $NetBSD: locale.h,v 1.24 2013/05/17 14:11:55 joerg Exp $ */ +/* $NetBSD: locale.h,v 1.25 2016/01/29 15:18:33 christos Exp $ */ /* * Copyright (c) 1991, 1993 @@ -106,7 +106,7 @@ void freelocale(locale_t); struct lconv *localeconv_l(locale_t); locale_t newlocale(int, const char *, locale_t); -#ifndef _LIBC +#if 1 // used to be _LIBC, workaround broken binutils extern struct _locale _lc_global_locale; #else extern __dso_protected struct _locale _lc_global_locale; @@ -115,7 +115,7 @@ extern __dso_protected struct _locale _lc_global_locale; #endif /* _POSIX_SOURCE >= 200809 || _NETBSD_SOURCE */ #if defined(_NETBSD_SOURCE) -# ifndef _LIBC +# if 1 // used to be _LIBC, workaround broken binutils extern const struct _locale _lc_C_locale; # else extern __dso_protected const struct _locale _lc_C_locale; |
