diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2002-09-19 17:30:05 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2002-09-19 17:30:05 +0000 |
commit | 309ce1f19f774f592d790e89de900dd81300c90b (patch) | |
tree | 9032c728cb6d98dd9f3490b748cf1bab5857e475 /libc/stdlib/stdlib.c | |
parent | dd3c72e1fabd08b2f03ab6a4f008609f62769373 (diff) |
Hide my personal #warning reminders. Add __wcschrnul, rename strchrnul
to __strchrnul, and add weak aliases for them.
Diffstat (limited to 'libc/stdlib/stdlib.c')
-rw-r--r-- | libc/stdlib/stdlib.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/stdlib/stdlib.c b/libc/stdlib/stdlib.c index 3d53089f9..cc465e7a9 100644 --- a/libc/stdlib/stdlib.c +++ b/libc/stdlib/stdlib.c @@ -640,7 +640,9 @@ void ssort (void *base, #ifdef __UCLIBC_HAS_LOCALE__ #define ENCODING (__global_locale.encoding) +#ifdef __UCLIBC_MJN3_ONLY__ #warning implement __CTYPE_HAS_UTF_8_LOCALES! +#endif #define __CTYPE_HAS_UTF_8_LOCALES #else #define ENCODING (__ctype_encoding_7_bit) @@ -661,8 +663,10 @@ size_t _stdlib_mb_cur_max(void) return __global_locale.mb_cur_max; #else #ifdef __CTYPE_HAS_8_BIT_LOCALES +#ifdef __UCLIBC_MJN3_ONLY__ #warning need to change this when/if transliteration is implemented #endif +#endif return 1; #endif } |