projects
/
mes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mescc: Mes C Library: Support GNU Awk: Add wchar_t.
[mes.git]
/
lib
/
stdlib
/
mbstowcs.c
diff --git
a/lib/stdlib/mbstowcs.c
b/lib/stdlib/mbstowcs.c
index a948544da4011bb19ce0d8a0afba65346be120e1..0820c1efe36a1cedc28a0603835bb12af530684d 100644
(file)
--- a/
lib/stdlib/mbstowcs.c
+++ b/
lib/stdlib/mbstowcs.c
@@
-22,9
+22,6
@@
#include <stdlib.h>
#include <string.h>
-#if !__MESC__
-typedef char wchar_t[];
-
size_t
mbstowcs (wchar_t * wstring, char const *string, size_t size)
{
@@
-35,4
+32,3
@@
mbstowcs (wchar_t * wstring, char const *string, size_t size)
strcpy (wstring, string);
return strlen (string);
}
-#endif