Chris@16
|
1 // (C) Copyright 2008 CodeRage, LLC (turkanis at coderage dot com)
|
Chris@16
|
2 // (C) Copyright 2003-2007 Jonathan Turkanis
|
Chris@16
|
3 // Distributed under the Boost Software License, Version 1.0. (See accompanying
|
Chris@16
|
4 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.)
|
Chris@16
|
5
|
Chris@16
|
6 // See http://www.boost.org/libs/iostreams for documentation.
|
Chris@16
|
7
|
Chris@16
|
8 // Adapted from http://www.boost.org/more/separate_compilation.html, by
|
Chris@16
|
9 // John Maddock.
|
Chris@16
|
10
|
Chris@16
|
11 #ifndef BOOST_IOSTREAMS_DETAIL_CONFIG_WIDE_STREAMS_HPP_INCLUDED
|
Chris@16
|
12 #define BOOST_IOSTREAMS_DETAIL_CONFIG_WIDE_STREAMS_HPP_INCLUDED
|
Chris@16
|
13
|
Chris@16
|
14 #include <boost/config.hpp>
|
Chris@16
|
15 #include <boost/detail/workaround.hpp>
|
Chris@16
|
16 #include <cstddef>
|
Chris@16
|
17
|
Chris@16
|
18 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
|
Chris@16
|
19 # pragma once
|
Chris@16
|
20 #endif
|
Chris@16
|
21
|
Chris@16
|
22 //------------------Templated stream support----------------------------------//
|
Chris@16
|
23
|
Chris@16
|
24 // From boost/dynamic_bitset.hpp; thanks to Matthias Troyer for cray patch.
|
Chris@16
|
25 #ifndef BOOST_IOSTREAMS_NO_STREAM_TEMPLATES
|
Chris@16
|
26 # if defined(__STL_CONFIG_H) && \
|
Chris@16
|
27 !defined (__STL_USE_NEW_IOSTREAMS) && !defined(__crayx1) \
|
Chris@16
|
28 /**/
|
Chris@16
|
29 # define BOOST_IOSTREAMS_NO_STREAM_TEMPLATES
|
Chris@16
|
30 # endif
|
Chris@16
|
31 #endif // #ifndef BOOST_IOSTREAMS_NO_STREAM_TEMPLATES
|
Chris@16
|
32
|
Chris@16
|
33 //------------------Wide stream support---------------------------------------//
|
Chris@16
|
34
|
Chris@16
|
35 #ifndef BOOST_IOSTREAMS_NO_WIDE_STREAMS
|
Chris@16
|
36 # if defined(BOOST_IOSTREAMS_NO_STREAM_TEMPLATES) || \
|
Chris@16
|
37 defined (BOOST_NO_STD_WSTREAMBUF) && \
|
Chris@16
|
38 ( !defined(__MSL_CPP__) || defined(_MSL_NO_WCHART_CPP_SUPPORT) ) \
|
Chris@16
|
39 /**/
|
Chris@16
|
40 # define BOOST_IOSTREAMS_NO_WIDE_STREAMS
|
Chris@16
|
41 # endif
|
Chris@16
|
42 #endif // #ifndef BOOST_IOSTREAMS_NO_WIDE_STREAMS
|
Chris@16
|
43
|
Chris@16
|
44 //------------------Locale support--------------------------------------------//
|
Chris@16
|
45
|
Chris@16
|
46 #ifndef BOOST_IOSTREAMS_NO_LOCALE
|
Chris@16
|
47 # if defined(BOOST_NO_STD_LOCALE) || \
|
Chris@16
|
48 defined(__CYGWIN__) && \
|
Chris@16
|
49 ( !defined(__MSL_CPP__) || defined(_MSL_NO_WCHART_CPP_SUPPORT) ) \
|
Chris@16
|
50 /**/
|
Chris@16
|
51 # define BOOST_IOSTREAMS_NO_LOCALE
|
Chris@16
|
52 # endif
|
Chris@16
|
53 #endif // #ifndef BOOST_IOSTREAMS_NO_LOCALE
|
Chris@16
|
54
|
Chris@16
|
55 #endif // #ifndef BOOST_IOSTREAMS_DETAIL_CONFIG_WIDE_STREAMS_HPP_INCLUDED
|