Commit f2ace097 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

compat: add some more thread locale constants

parent 0d50df24
...@@ -218,8 +218,10 @@ int posix_memalign (void **, size_t, size_t); ...@@ -218,8 +218,10 @@ int posix_memalign (void **, size_t, size_t);
/* locale.h */ /* locale.h */
#ifndef HAVE_USELOCALE #ifndef HAVE_USELOCALE
#define LC_ALL_MASK 0
#define LC_NUMERIC_MASK 0 #define LC_NUMERIC_MASK 0
#define LC_MESSAGES_MASK 0 #define LC_MESSAGES_MASK 0
#define LC_GLOBAL_LOCALE ((locale_t)(uintptr_t)1)
typedef void *locale_t; typedef void *locale_t;
static inline locale_t uselocale(locale_t loc) static inline locale_t uselocale(locale_t loc)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment