From 5367f6459d7ab55892c1ea67267ac0592c19686e Mon Sep 17 00:00:00 2001 From: Christopher Jefferson Date: Mon, 14 Feb 2011 10:27:38 +0000 Subject: [PATCH] libc++ also has no const on codecvt length [SVN r68859] --- include/boost/detail/utf8_codecvt_facet.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/detail/utf8_codecvt_facet.hpp b/include/boost/detail/utf8_codecvt_facet.hpp index b777ff9..65c5e4e 100644 --- a/include/boost/detail/utf8_codecvt_facet.hpp +++ b/include/boost/detail/utf8_codecvt_facet.hpp @@ -92,7 +92,8 @@ namespace std { } #endif -#if !defined(__MSL_CPP__) && !defined(__LIBCOMO__) +#if !defined(__MSL_CPP__) && !defined(__LIBCOMO__) \ + && !defined(_LIBCPP_VERSION) #define BOOST_CODECVT_DO_LENGTH_CONST const #else #define BOOST_CODECVT_DO_LENGTH_CONST