diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-03-22 15:41:52 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-03-22 15:41:52 +0000 |
commit | 60d4611c5dc1e71df0eb30dff57fcd805ec0b385 (patch) | |
tree | 8a35768bde8a1679c87e969e91132455657b4c88 /include/wchar.h | |
parent | 6a84ed078a6f0e31614a52c4bfdbe57764f3714b (diff) |
Comment __mbrlen
Diffstat (limited to 'include/wchar.h')
-rw-r--r-- | include/wchar.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/wchar.h b/include/wchar.h index bd6447b96..e461f7184 100644 --- a/include/wchar.h +++ b/include/wchar.h @@ -329,8 +329,10 @@ extern size_t wcrtomb (char *__restrict __s, wchar_t __wc, mbstate_t *__restrict __ps) __THROW; /* Return number of bytes in multibyte character pointed to by S. */ +#if 0 /* uClibc: disabled */ extern size_t __mbrlen (__const char *__restrict __s, size_t __n, mbstate_t *__restrict __ps) __THROW; +#endif extern size_t mbrlen (__const char *__restrict __s, size_t __n, mbstate_t *__restrict __ps) __THROW; @@ -721,8 +723,7 @@ extern size_t wcsftime (wchar_t *__restrict __s, size_t __maxsize, __const struct tm *__restrict __tp) __THROW; __END_NAMESPACE_C99 -# ifdef __USE_GNU -#ifdef __UCLIBC_HAS_XLOCALE__ +# if defined __USE_GNU && defined __UCLIBC_HAS_XLOCALE__ # include <xlocale.h> /* Similar to `wcsftime' but takes the information from @@ -731,7 +732,6 @@ extern size_t wcsftime_l (wchar_t *__restrict __s, size_t __maxsize, __const wchar_t *__restrict __format, __const struct tm *__restrict __tp, __locale_t __loc) __THROW; -#endif /* __UCLIBC_HAS_XLOCALE__ */ # endif /* The X/Open standard demands that most of the functions defined in |