1 // Copyright (c) 2001 Ronald Garcia, Indiana University (garcia@osl.iu.edu)
2 // Andrew Lumsdaine, Indiana University (lums@osl.iu.edu).
3 // Distributed under the Boost Software License, Version 1.0. (See
4 // accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt)
7 #ifndef BOOST_ARCHIVE_DETAIL_UTF8_CODECVT_FACET_HPP
8 #define BOOST_ARCHIVE_DETAIL_UTF8_CODECVT_FACET_HPP
10 #include <boost/config.hpp>
12 #ifdef BOOST_NO_STD_WSTREAMBUF
13 #error "wide char i/o not supported on this platform"
16 // use boost's utf8 codecvt facet
17 #include <boost/archive/detail/decl.hpp>
18 #define BOOST_UTF8_BEGIN_NAMESPACE \
19 namespace boost { namespace archive { namespace detail {
20 #define BOOST_UTF8_DECL BOOST_ARCHIVE_DECL
21 #define BOOST_UTF8_END_NAMESPACE }}}
23 #include <boost/detail/utf8_codecvt_facet.hpp>
25 #undef BOOST_UTF8_END_NAMESPACE
26 #undef BOOST_UTF8_DECL
27 #undef BOOST_UTF8_BEGIN_NAMESPACE
29 #endif // BOOST_ARCHIVE_DETAIL_UTF8_CODECVT_FACET_HPP