2
0
mirror of https://github.com/boostorg/nowide.git synced 2026-02-22 03:22:32 +00:00

Fixed workaround version for MSVC 2017

This commit is contained in:
Artyom Beilis
2017-06-10 14:24:27 +03:00
parent 0bfd8017c2
commit 24ef5223bb

View File

@@ -21,7 +21,7 @@ namespace nowide {
//
BOOST_STATIC_ASSERT(sizeof(std::mbstate_t)>=2);
#ifdef _MSC_VER
#if defined _MSC_VER && _MSC_VER < 1700
// MSVC do_length is non-standard it counts wide characters instead of narrow and does not change mbstate
#define BOOST_NOWIDE_DO_LENGTH_MBSTATE_CONST
#endif