Define BOOST_IOSTREAMS_USE_DEPRECATED
This commit is contained in:
parent
0f8e0251f4
commit
986afb43d0
2 changed files with 3 additions and 1 deletions
|
|
@ -156,6 +156,7 @@ typedef std::ostream::pos_type ostream_pos_type;
|
|||
#include <boost/intrusive_ptr.hpp>
|
||||
#include <boost/iostreams/stream.hpp>
|
||||
#include <boost/iostreams/write.hpp>
|
||||
#define BOOST_IOSTREAMS_USE_DEPRECATED 1
|
||||
#include <boost/iostreams/device/file_descriptor.hpp>
|
||||
#include <boost/iterator/transform_iterator.hpp>
|
||||
#include <boost/lexical_cast.hpp>
|
||||
|
|
|
|||
|
|
@ -308,7 +308,8 @@ AC_CACHE_CHECK(
|
|||
AC_LANG_PUSH(C++)
|
||||
AC_LINK_IFELSE(
|
||||
[AC_LANG_PROGRAM(
|
||||
[[#include <boost/iostreams/device/file_descriptor.hpp>
|
||||
[[#define BOOST_IOSTREAMS_USE_DEPRECATED 1
|
||||
#include <boost/iostreams/device/file_descriptor.hpp>
|
||||
#include <boost/iostreams/stream.hpp>
|
||||
#include <boost/version.hpp>]],
|
||||
[[namespace io = boost::iostreams;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue