]> Savannah Git Hosting - gnulib.git/commit
mbrtowc: Don't replace mbstate_t on MSVC.
authorBruno Haible <bruno@clisp.org>
Thu, 2 Jan 2020 17:36:29 +0000 (18:36 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 2 Jan 2020 17:36:29 +0000 (18:36 +0100)
commit33359b0dfd4d5f75ddd3f34e581a2bd149264ecb
tree68afc4f342d42b79a05fad4744f8a8ce70c0d6c2
parent6909b8edbea806a3bd50aa9baa600cdd3a0a760e
mbrtowc: Don't replace mbstate_t on MSVC.

* m4/mbrtowc.m4 (gl_MBSTATE_T_BROKEN): Require AC_CANONICAL_HOST. Ignore
a missing mbsinit function on native Windows.
* m4/wcrtomb.m4 (gl_FUNC_WCRTOMB): Strengthen the test, to detect an
MSVC bug.
* doc/posix-functions/wcrtomb.texi: Mention the MSVC bug.
ChangeLog
doc/posix-functions/wcrtomb.texi
m4/mbrtowc.m4
m4/wcrtomb.m4