mescc: Support gcc-3.0: Locale header fix.
authorJan Nieuwenhuizen <janneke@gnu.org>
Tue, 11 Sep 2018 05:01:33 +0000 (07:01 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Tue, 11 Sep 2018 05:01:33 +0000 (07:01 +0200)
* include/locale.h (LC_ALL, LC_NUMERIC): Numbers, not strings.
(LC_COLLATE, LC_CTYPE): New macro.

include/locale.h

index fd9bbdc6154d9c1893e1f45af51e65eeba6cfe06..06a10b06ea06dc41e1853280d9a0394a9dbfa3ea 100644 (file)
 #else // ! WITH_GLIBC
 
 #ifndef LC_ALL
-#define LC_ALL     "LC_ALL"
-#define LC_NUMERIC "LC_NUMERIC"
+#define LC_CTYPE   0
+#define LC_NUMERIC 1
+#define LC_COLLATE 3
+#define LC_ALL     6
 #endif
 char * setlocale (int category, char const *locale);