mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 03:29:07 +08:00
68 lines
1.8 KiB
Diff
68 lines
1.8 KiB
Diff
diff --git "a/config.h.in" "b/config.h.in"
|
|
index 207e487..56501ed 100644
|
|
--- "a/config.h.in"
|
|
+++ "b/config.h.in"
|
|
@@ -27,7 +27,7 @@
|
|
#undef DOUBLE_SLASH_IS_DISTINCT_ROOT
|
|
|
|
/* Define as good substitute value for EILSEQ. */
|
|
-#undef EILSEQ
|
|
+//#undef EILSEQ
|
|
|
|
/* Define to 1 to enable a few rarely used encodings. */
|
|
#undef ENABLE_EXTRA
|
|
@@ -207,10 +207,10 @@
|
|
#undef HAVE_MACH_O_DYLD_H
|
|
|
|
/* Define to 1 if you have the `mbrtowc' function. */
|
|
-#undef HAVE_MBRTOWC
|
|
+#define HAVE_MBRTOWC 1
|
|
|
|
/* Define to 1 if you have the `mbsinit' function. */
|
|
-#undef HAVE_MBSINIT
|
|
+#define HAVE_MBSINIT 1
|
|
|
|
/* Define to 1 if <wchar.h> declares mbstate_t. */
|
|
#undef HAVE_MBSTATE_T
|
|
@@ -665,7 +665,7 @@
|
|
#undef HAVE_WCHAR_T
|
|
|
|
/* Define to 1 if you have the `wcrtomb' function. */
|
|
-#undef HAVE_WCRTOMB
|
|
+#define HAVE_WCRTOMB 1
|
|
|
|
/* Define to 1 if you have the <winsock2.h> header file. */
|
|
#undef HAVE_WINSOCK2_H
|
|
@@ -683,7 +683,7 @@
|
|
#undef HAVE__NSGETEXECUTABLEPATH
|
|
|
|
/* Define as const if the declaration of iconv() needs const. */
|
|
-#undef ICONV_CONST
|
|
+#define ICONV_CONST const
|
|
|
|
/* Define to the value of ${prefix}, as a string. */
|
|
#undef INSTALLPREFIX
|
|
@@ -787,7 +787,7 @@
|
|
#undef WINT_T_SUFFIX
|
|
|
|
/* Define if the machine's byte ordering is little endian. */
|
|
-#undef WORDS_LITTLEENDIAN
|
|
+#define WORDS_LITTLEENDIAN 1
|
|
|
|
/* Define to 1 if on MINIX. */
|
|
#undef _MINIX
|
|
|
|
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
|
|
|