mescc: Support gcc-3.0: Locale header fix.

* include/locale.h (LC_ALL, LC_NUMERIC): Numbers, not strings.
(LC_COLLATE, LC_CTYPE): New macro.
This commit is contained in:
Jan Nieuwenhuizen 2018-09-11 07:01:33 +02:00
parent b5a725256c
commit 15e94917f0
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -30,8 +30,10 @@
#else // ! WITH_GLIBC #else // ! WITH_GLIBC
#ifndef LC_ALL #ifndef LC_ALL
#define LC_ALL "LC_ALL" #define LC_CTYPE 0
#define LC_NUMERIC "LC_NUMERIC" #define LC_NUMERIC 1
#define LC_COLLATE 3
#define LC_ALL 6
#endif #endif
char * setlocale (int category, char const *locale); char * setlocale (int category, char const *locale);