From 9fcf48482626f20151d75a2ebb81371b45d4540a Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 24 Aug 2010 00:03:52 -0400 Subject: Moved up to Boost 1.44 --- src/stream.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/stream.cc') diff --git a/src/stream.cc b/src/stream.cc index 001e7760..5d4cf5e0 100644 --- a/src/stream.cc +++ b/src/stream.cc @@ -102,7 +102,11 @@ namespace { else { // parent close(pfd[0]); typedef iostreams::stream fdstream; +#if BOOST_VERSION >= 104400 + *os = new fdstream(pfd[1], iostreams::never_close_handle); +#else // BOOST_VERSION >= 104400 *os = new fdstream(pfd[1]); +#endif // BOOST_VERSION >= 104400 } return pfd[1]; #else -- cgit v1.2.3