Ugly, not-to-be-pushed sucking in of all of Boost to get windows to work.
[dyninst.git] / external / boost / iostreams / constants.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 // Contains constants used by library.
8
9 #ifndef BOOST_IOSTREAMS_CONSTANTS_HPP_INCLUDED
10 #define BOOST_IOSTREAMS_CONSTANTS_HPP_INCLUDED
11
12 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
13 # pragma once
14 #endif              
15
16 #ifndef BOOST_IOSTREAMS_DEFAULT_DEVICE_BUFFER_SIZE
17 # define BOOST_IOSTREAMS_DEFAULT_DEVICE_BUFFER_SIZE 4096
18 #endif
19
20 #ifndef BOOST_IOSTREAMS_DEFAULT_FILTER_BUFFER_SIZE
21 # define BOOST_IOSTREAMS_DEFAULT_FILTER_BUFFER_SIZE 128
22 #endif
23
24 #ifndef BOOST_IOSTREAMS_DEFAULT_PBACK_BUFFER_SIZE
25 # define BOOST_IOSTREAMS_DEFAULT_PBACK_BUFFER_SIZE 4
26 #endif
27
28 #include <boost/iostreams/detail/ios.hpp>  // streamsize.
29
30 namespace boost { namespace iostreams {
31
32 const std::streamsize default_device_buffer_size = 
33     BOOST_IOSTREAMS_DEFAULT_DEVICE_BUFFER_SIZE; 
34 const std::streamsize default_filter_buffer_size = 
35     BOOST_IOSTREAMS_DEFAULT_FILTER_BUFFER_SIZE;
36 const std::streamsize default_pback_buffer_size = 
37     BOOST_IOSTREAMS_DEFAULT_PBACK_BUFFER_SIZE;
38
39 } } // End namespaces iostreams, boost.
40
41 #endif // #ifndef BOOST_IOSTREAMS_CONSTANTS_HPP_INCLUDED