diff options
Diffstat (limited to 'libc/include/stdlib.h')
-rw-r--r-- | libc/include/stdlib.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/include/stdlib.h b/libc/include/stdlib.h index 15925e3..a821e03 100644 --- a/libc/include/stdlib.h +++ b/libc/include/stdlib.h @@ -160,6 +160,11 @@ extern int mblen(const char *, size_t); extern size_t mbstowcs(wchar_t *, const char *, size_t); extern int mbtowc(wchar_t *, const char *, size_t); +/* Likewise, make libstdc++-v3 happy. */ +extern int wctomb(char *, wchar_t); +extern size_t wcstombs(char *, const wchar_t *, size_t); +#define MB_CUR_MAX 1 + __END_DECLS #endif /* _STDLIB_H_ */ |