diff --git a/src/system.hh.in b/src/system.hh.in index c1cc8e30..f71dce68 100644 --- a/src/system.hh.in +++ b/src/system.hh.in @@ -156,6 +156,7 @@ typedef std::ostream::pos_type ostream_pos_type; #include #include #include +#define BOOST_IOSTREAMS_USE_DEPRECATED 1 #include #include #include diff --git a/tools/configure.ac b/tools/configure.ac index 028727a8..c3a913e6 100644 --- a/tools/configure.ac +++ b/tools/configure.ac @@ -308,7 +308,8 @@ AC_CACHE_CHECK( AC_LANG_PUSH(C++) AC_LINK_IFELSE( [AC_LANG_PROGRAM( - [[#include + [[#define BOOST_IOSTREAMS_USE_DEPRECATED 1 + #include #include #include ]], [[namespace io = boost::iostreams;