Ugly, not-to-be-pushed sucking in of all of Boost to get windows to work.
[dyninst.git] / external / boost / iostreams / detail / streambuf.hpp
1 // (C) Copyright Jonathan Turkanis 2003.
2 // Distributed under the Boost Software License, Version 1.0. (See accompanying
3 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.)
4
5 // See http://www.boost.org/libs/iostreams for documentation.
6
7 #ifndef BOOST_IOSTREAMS_DETAIL_STREAMBUF_HPP_INCLUDED
8 #define BOOST_IOSTREAMS_DETAIL_STREAMBUF_HPP_INCLUDED
9
10 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
11 # pragma once
12 #endif              
13                  
14 #include <boost/iostreams/detail/config/wide_streams.hpp>
15 #ifndef BOOST_IOSTREAMS_NO_STREAM_TEMPLATES
16 # include <streambuf>
17 #else 
18 # include <streambuf.h>
19 #endif 
20
21 #ifndef BOOST_IOSTREAMS_NO_STREAM_TEMPLATES
22 # define BOOST_IOSTREAMS_BASIC_STREAMBUF(ch, tr) std::basic_streambuf< ch, tr >
23 # define BOOST_IOSTREAMS_PUBSYNC pubsync
24 # define BOOST_IOSTREAMS_PUBSEEKOFF pubseekoff
25 # define BOOST_IOSTREAMS_PUBSEEKPOS pubseekpos
26 #else
27 # define BOOST_IOSTREAMS_BASIC_STREAMBUF(ch, tr) std::streambuf
28 # define BOOST_IOSTREAMS_PUBSYNC sync
29 # define BOOST_IOSTREAMS_PUBSEEKOFF seekoff
30 # define BOOST_IOSTREAMS_PUBSEEKPOS seekpos
31 #endif
32
33 #endif // #ifndef BOOST_IOSTREAMS_DETAIL_STREAMBUF_HPP_INCLUDED