diff options
Diffstat (limited to 'src/internal/locale_impl.h')
-rw-r--r-- | src/internal/locale_impl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/internal/locale_impl.h b/src/internal/locale_impl.h index 0b5e00cf..4431a92e 100644 --- a/src/internal/locale_impl.h +++ b/src/internal/locale_impl.h @@ -15,6 +15,8 @@ struct __locale_map { const struct __locale_map *next; }; +extern hidden volatile int __locale_lock[1]; + extern hidden const struct __locale_map __c_dot_utf8; extern hidden const struct __locale_struct __c_locale; extern hidden const struct __locale_struct __c_dot_utf8_locale; @@ -27,6 +29,8 @@ hidden const char *__lctrans_impl(const char *, const struct __locale_map *); hidden int __loc_is_allocated(locale_t); hidden char *__gettextdomain(void); +#define LOC_MAP_FAILED ((const struct __locale_map *)-1) + #define LCTRANS(msg, lc, loc) __lctrans(msg, (loc)->cat[(lc)]) #define LCTRANS_CUR(msg) __lctrans_cur(msg) |