Chris@16: // (C) Copyright 2008 CodeRage, LLC (turkanis at coderage dot com) Chris@16: // (C) Copyright 2003-2007 Jonathan Turkanis Chris@16: // Distributed under the Boost Software License, Version 1.0. (See accompanying Chris@16: // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.) Chris@16: Chris@16: // See http://www.boost.org/libs/iostreams for documentation. Chris@16: Chris@16: // Adapted from http://www.boost.org/more/separate_compilation.html, by Chris@16: // John Maddock. Chris@16: Chris@16: #ifndef BOOST_IOSTREAMS_DETAIL_CONFIG_WIDE_STREAMS_HPP_INCLUDED Chris@16: #define BOOST_IOSTREAMS_DETAIL_CONFIG_WIDE_STREAMS_HPP_INCLUDED Chris@16: Chris@16: #include Chris@16: #include Chris@16: #include Chris@16: Chris@16: #if defined(_MSC_VER) && (_MSC_VER >= 1020) Chris@16: # pragma once Chris@16: #endif Chris@16: Chris@16: //------------------Templated stream support----------------------------------// Chris@16: Chris@16: // From boost/dynamic_bitset.hpp; thanks to Matthias Troyer for cray patch. Chris@16: #ifndef BOOST_IOSTREAMS_NO_STREAM_TEMPLATES Chris@16: # if defined(__STL_CONFIG_H) && \ Chris@16: !defined (__STL_USE_NEW_IOSTREAMS) && !defined(__crayx1) \ Chris@16: /**/ Chris@16: # define BOOST_IOSTREAMS_NO_STREAM_TEMPLATES Chris@16: # endif Chris@16: #endif // #ifndef BOOST_IOSTREAMS_NO_STREAM_TEMPLATES Chris@16: Chris@16: //------------------Wide stream support---------------------------------------// Chris@16: Chris@16: #ifndef BOOST_IOSTREAMS_NO_WIDE_STREAMS Chris@16: # if defined(BOOST_IOSTREAMS_NO_STREAM_TEMPLATES) || \ Chris@16: defined (BOOST_NO_STD_WSTREAMBUF) && \ Chris@16: ( !defined(__MSL_CPP__) || defined(_MSL_NO_WCHART_CPP_SUPPORT) ) \ Chris@16: /**/ Chris@16: # define BOOST_IOSTREAMS_NO_WIDE_STREAMS Chris@16: # endif Chris@16: #endif // #ifndef BOOST_IOSTREAMS_NO_WIDE_STREAMS Chris@16: Chris@16: //------------------Locale support--------------------------------------------// Chris@16: Chris@16: #ifndef BOOST_IOSTREAMS_NO_LOCALE Chris@16: # if defined(BOOST_NO_STD_LOCALE) || \ Chris@16: defined(__CYGWIN__) && \ Chris@16: ( !defined(__MSL_CPP__) || defined(_MSL_NO_WCHART_CPP_SUPPORT) ) \ Chris@16: /**/ Chris@16: # define BOOST_IOSTREAMS_NO_LOCALE Chris@16: # endif Chris@16: #endif // #ifndef BOOST_IOSTREAMS_NO_LOCALE Chris@16: Chris@16: #endif // #ifndef BOOST_IOSTREAMS_DETAIL_CONFIG_WIDE_STREAMS_HPP_INCLUDED