Index: configure.host =================================================================== RCS file: /cvs/uberbaum/newlib/configure.host,v retrieving revision 1.35 diff -u -p -2 -r1.35 configure.host --- configure.host 23 Aug 2002 01:56:02 -0000 1.35 +++ configure.host 26 Aug 2002 09:49:27 -0000 @@ -419,4 +419,5 @@ case "${host}" in newlib_cflags="${newlib_cflags} -DMALLOC_PROVIDED" fi + newlib_cflags="${newlib_cflags} -DMB_CAPABLE" syscall_dir=syscalls ;; Index: libc/include/wchar.h =================================================================== RCS file: /cvs/uberbaum/newlib/libc/include/wchar.h,v retrieving revision 1.1 diff -u -p -2 -r1.1 wchar.h --- libc/include/wchar.h 23 Aug 2002 01:56:02 -0000 1.1 +++ libc/include/wchar.h 26 Aug 2002 09:49:27 -0000 @@ -27,4 +27,9 @@ size_t wcrtomb(char *s, wchar_t wc, mbst size_t mbsrtowcs(wchar_t *dst, const char **src, size_t len, mbstate_t *ps); size_t wcsrtombs(char *dst, const wchar_t **src, size_t len, mbstate_t *ps); +wchar_t *wmemchr(const wchar_t *ws, wchar_t wc, size_t n); +int wmemcmp(const wchar_t *ws1, const wchar_t *ws2, size_t n); +wchar_t *wmemcpy(wchar_t *ws1, const wchar_t *ws2, size_t n); +wchar_t *wmemmove(wchar_t *ws1, const wchar_t *ws2, size_t n); +wchar_t *wmemset(wchar_t *ws, wchar_t wc, size_t n); #endif /* _WCHAR_H_ */ Index: libc/stdlib/Makefile.am =================================================================== RCS file: /cvs/uberbaum/newlib/libc/stdlib/Makefile.am,v retrieving revision 1.14 diff -u -p -2 -r1.14 Makefile.am --- libc/stdlib/Makefile.am 23 Aug 2002 01:56:04 -0000 1.14 +++ libc/stdlib/Makefile.am 26 Aug 2002 09:49:27 -0000 @@ -88,5 +88,10 @@ LIB_SOURCES = \ wcrtomb.c \ wcsrtombs.c \ - wctob.c + wctob.c \ + wmemchr.c \ + wmemcmp.c \ + wmemcpy.c \ + wmemmove.c \ + wmemset.c # Because of how libtool moves objects around, mallocr must be built last.