From 599ad608ee3297bc1e2bb11656a97335e303877a Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Wed, 3 Jul 2002 17:24:17 +0000 Subject: Enable WCHAR support for C/POSIX stub locales. Implemented unformatted wide i/o functions. (ungetwc still needs testing) Fix a few bugs in wchar.c. Modifications for bcc/elks support. --- libc/string/Makefile | 2 ++ libc/string/wstring.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'libc/string') diff --git a/libc/string/Makefile b/libc/string/Makefile index 2cd133472..f19782c81 100644 --- a/libc/string/Makefile +++ b/libc/string/Makefile @@ -38,6 +38,8 @@ MOBJW2= wcscasecmp.o wcscat.o wcschrnul.o wcschr.o wcscmp.o wcscpy.o wcscspn.o \ wcsnlen.o wcspbrk.o wcsrchr.o wcsspn.o wcsstr.o wcstok.o wmemchr.o \ wmemcmp.o wmemcpy.o wmemmove.o wmempcpy.o wmemset.o +# wcscoll wcsxfrm wcpcpy wcpncpy + MSRC1=strsignal.c MOBJ1=strsignal.o psignal.o diff --git a/libc/string/wstring.c b/libc/string/wstring.c index 4c619ad36..59300f164 100644 --- a/libc/string/wstring.c +++ b/libc/string/wstring.c @@ -293,7 +293,7 @@ int Wmemcmp(const Wvoid *s1, const Wvoid *s2, size_t n) #ifndef L_wcscmp #warning implement strcoll and remove weak alias (or enable for C locale only) -weak_alias(strcmp, strcoll); +weak_alias(strcmp,strcoll); #endif int Wstrcmp(register const Wchar *s1, register const Wchar *s2) -- cgit v1.2.3