mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-06 05:09:01 +08:00
14 lines
469 B
Diff
14 lines
469 B
Diff
diff --git "a/lib/loop_wchar.h" "b/lib/loop_wchar.h"
|
|
index 6dc011b..158ccdd 100644
|
|
--- "a/lib/loop_wchar.h"
|
|
+++ "b/lib/loop_wchar.h"
|
|
@@ -37,7 +37,7 @@
|
|
# include <wchar.h>
|
|
# define BUF_SIZE 64 /* assume MB_LEN_MAX <= 64 */
|
|
/* Some systems, like BeOS, have multibyte encodings but lack mbstate_t. */
|
|
- extern size_t mbrtowc ();
|
|
+// extern size_t mbrtowc ();
|
|
# ifdef mbstate_t
|
|
# define mbrtowc(pwc, s, n, ps) (mbrtowc)(pwc, s, n, 0)
|
|
# define mbsinit(ps) 1
|
|
|