Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r81877 - trunk/boost/detail
From: marshall_at_[hidden]
Date: 2012-12-12 10:41:28


Author: marshall
Date: 2012-12-12 10:41:26 EST (Wed, 12 Dec 2012)
New Revision: 81877
URL: http://svn.boost.org/trac/boost/changeset/81877

Log:
Made codecvt::do_length param constant based on the library used, not the compiler
Text files modified:
   trunk/boost/detail/utf8_codecvt_facet.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/detail/utf8_codecvt_facet.hpp
==============================================================================
--- trunk/boost/detail/utf8_codecvt_facet.hpp (original)
+++ trunk/boost/detail/utf8_codecvt_facet.hpp 2012-12-12 10:41:26 EST (Wed, 12 Dec 2012)
@@ -92,7 +92,7 @@
 }
 #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


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk