diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-01-16 16:25:08 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-01-16 16:25:08 -0800 |
commit | 1cb0ec225dd97470208cc9e3b59cf35d8f4e3a0b (patch) | |
tree | 4cd531366cc90a7521d363e5561c25e9e5328b20 /system/include/libc/locale.h | |
parent | cf5947187de4390ad0440940f323470b37befbc8 (diff) |
restore libcxx to pristine state, undoing all our hacks, and work towards fixing test_exceptions given that
Diffstat (limited to 'system/include/libc/locale.h')
-rw-r--r-- | system/include/libc/locale.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/system/include/libc/locale.h b/system/include/libc/locale.h index 532faaa5..b75bed7a 100644 --- a/system/include/libc/locale.h +++ b/system/include/libc/locale.h @@ -21,6 +21,15 @@ #define LC_TIME 5 #define LC_MESSAGES 6 +/* XXX Emscripten: add masks */ +#define LC_ALL_MASK (1 << LC_ALL) +#define LC_COLLATE_MASK (1 << LC_COLLATE) +#define LC_CTYPE_MASK (1 << LC_CTYPE) +#define LC_MONETARY_MASK (1 << LC_MONETARY) +#define LC_NUMERIC_MASK (1 << LC_NUMERIC) +#define LC_TIME_MASK (1 << LC_TIME) +#define LC_MESSAGES_MASK (1 << LC_MESSAGES) + _BEGIN_STD_C struct lconv |