From 986afb43d0095284902e9696f4a8cc5fda73af2d Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 4 Feb 2011 23:07:39 -0500 Subject: [PATCH] Define BOOST_IOSTREAMS_USE_DEPRECATED --- src/system.hh.in | 1 + tools/configure.ac | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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;