From eb6208f69ac85ceaa0bd13e050476d519d8e89fd Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Wed, 12 Dec 2012 15:41:26 +0000 Subject: [PATCH] Made codecvt::do_length param constant based on the library used, not the compiler [SVN r81877] --- include/boost/detail/utf8_codecvt_facet.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/detail/utf8_codecvt_facet.hpp b/include/boost/detail/utf8_codecvt_facet.hpp index c57cd02..553cc99 100644 --- a/include/boost/detail/utf8_codecvt_facet.hpp +++ b/include/boost/detail/utf8_codecvt_facet.hpp @@ -92,7 +92,7 @@ namespace std { } #endif -#if defined(_MSC_VER) && (_MSC_VER < 1700) +#if defined(_CPPLIB_VER) && (_CPPLIB_VER < 540) #define BOOST_CODECVT_DO_LENGTH_CONST const #else #define BOOST_CODECVT_DO_LENGTH_CONST