From 309ce1f19f774f592d790e89de900dd81300c90b Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Thu, 19 Sep 2002 17:30:05 +0000 Subject: Hide my personal #warning reminders. Add __wcschrnul, rename strchrnul to __strchrnul, and add weak aliases for them. --- libc/stdlib/stdlib.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libc/stdlib') 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,7 +663,9 @@ 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 -- cgit v1.2.3