summaryrefslogtreecommitdiff
path: root/boost/iostreams/detail/config/codecvt.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/iostreams/detail/config/codecvt.hpp')
-rw-r--r--boost/iostreams/detail/config/codecvt.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/boost/iostreams/detail/config/codecvt.hpp b/boost/iostreams/detail/config/codecvt.hpp
index b525c8435b..6519ddcd44 100644
--- a/boost/iostreams/detail/config/codecvt.hpp
+++ b/boost/iostreams/detail/config/codecvt.hpp
@@ -20,7 +20,8 @@
//------------------Support for codecvt with user-defined state types---------//
#if defined(__MSL_CPP__) || defined(__LIBCOMO__) || \
- BOOST_WORKAROUND(_STLPORT_VERSION, <= 0x450) \
+ BOOST_WORKAROUND(_STLPORT_VERSION, <= 0x450) || \
+ defined(_LIBCPP_VERSION) \
/**/
# define BOOST_IOSTREAMS_NO_PRIMARY_CODECVT_DEFINITION
#endif