123456789101112131415161718192021222324252627282930313233343536373839404142 |
- #ifndef BOOST_IOSTREAMS_CONSTANTS_HPP_INCLUDED
- #define BOOST_IOSTREAMS_CONSTANTS_HPP_INCLUDED
- #if defined(_MSC_VER)
- # pragma once
- #endif
- #ifndef BOOST_IOSTREAMS_DEFAULT_DEVICE_BUFFER_SIZE
- # define BOOST_IOSTREAMS_DEFAULT_DEVICE_BUFFER_SIZE 4096
- #endif
- #ifndef BOOST_IOSTREAMS_DEFAULT_FILTER_BUFFER_SIZE
- # define BOOST_IOSTREAMS_DEFAULT_FILTER_BUFFER_SIZE 128
- #endif
- #ifndef BOOST_IOSTREAMS_DEFAULT_PBACK_BUFFER_SIZE
- # define BOOST_IOSTREAMS_DEFAULT_PBACK_BUFFER_SIZE 4
- #endif
- #include <boost/iostreams/detail/ios.hpp> // streamsize.
- namespace boost { namespace iostreams {
- const std::streamsize default_device_buffer_size =
- BOOST_IOSTREAMS_DEFAULT_DEVICE_BUFFER_SIZE;
- const std::streamsize default_filter_buffer_size =
- BOOST_IOSTREAMS_DEFAULT_FILTER_BUFFER_SIZE;
- const std::streamsize default_pback_buffer_size =
- BOOST_IOSTREAMS_DEFAULT_PBACK_BUFFER_SIZE;
- } }
- #endif
|