From d5aa8a952a6aa6def641842b4be3e2641e196e72 Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Wed, 28 Nov 2012 19:12:42 +0000 Subject: [PATCH] Fixed incorrect 'const' param for utf8_codecvt_facet::do_length [SVN r81616] --- include/boost/detail/utf8_codecvt_facet.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/boost/detail/utf8_codecvt_facet.hpp b/include/boost/detail/utf8_codecvt_facet.hpp index 65c5e4e..c57cd02 100644 --- a/include/boost/detail/utf8_codecvt_facet.hpp +++ b/include/boost/detail/utf8_codecvt_facet.hpp @@ -92,8 +92,7 @@ namespace std { } #endif -#if !defined(__MSL_CPP__) && !defined(__LIBCOMO__) \ - && !defined(_LIBCPP_VERSION) +#if defined(_MSC_VER) && (_MSC_VER < 1700) #define BOOST_CODECVT_DO_LENGTH_CONST const #else #define BOOST_CODECVT_DO_LENGTH_CONST