diff options
author | John Wiegley <johnw@newartisans.com> | 2010-08-24 00:03:52 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-08-24 00:03:52 -0400 |
commit | 9fcf48482626f20151d75a2ebb81371b45d4540a (patch) | |
tree | 48424a9a1f70fba360aba940669e031287b1a9c6 /src/stream.cc | |
parent | ff07cc6c6fe38467b897d5b665c81fcfc49e3620 (diff) | |
download | fork-ledger-9fcf48482626f20151d75a2ebb81371b45d4540a.tar.gz fork-ledger-9fcf48482626f20151d75a2ebb81371b45d4540a.tar.bz2 fork-ledger-9fcf48482626f20151d75a2ebb81371b45d4540a.zip |
Moved up to Boost 1.44
Diffstat (limited to 'src/stream.cc')
-rw-r--r-- | src/stream.cc | 4 |
1 files changed, 4 insertions, 0 deletions
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<iostreams::file_descriptor_sink> 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 |