From 774c5656aa4bde4ceb60bf89cbc9b477bcbf202b Mon Sep 17 00:00:00 2001 From: Jonathan Turkanis Date: Mon, 31 Jan 2005 23:49:55 +0000 Subject: [PATCH] borland 5.x fix [SVN r26978] --- include/boost/iostreams/detail/codecvt_helper.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/boost/iostreams/detail/codecvt_helper.hpp b/include/boost/iostreams/detail/codecvt_helper.hpp index ec130d3..2ae4993 100755 --- a/include/boost/iostreams/detail/codecvt_helper.hpp +++ b/include/boost/iostreams/detail/codecvt_helper.hpp @@ -161,10 +161,11 @@ struct codecvt_helper : std::codecvt { typedef Extern extern_type; typedef State state_type; codecvt_helper(std::size_t refs = 0) - #if !BOOST_WORKAROUND(__MWERKS__, <= 0x3003) - : std::codecvt(refs) - #else + #if BOOST_WORKAROUND(__MWERKS__, <= 0x3003) || \ + BOOST_WORKAROUND(__BORLANDC__, <= 0x600) : std::codecvt() + #else + : std::codecvt(refs) #endif { } };