Disable <system_error> interoperation on g++ 4.4/4.5

This commit is contained in:
Peter Dimov
2018-09-16 20:49:33 +03:00
parent fe1dbd9df9
commit 56651f6633

View File

@ -9,6 +9,7 @@
// See http://www.boost.org/libs/system for documentation.
#include <boost/config.hpp>
#include <boost/config/workaround.hpp>
// BOOST_SYSTEM_HAS_SYSTEM_ERROR
@ -16,6 +17,11 @@
# define BOOST_SYSTEM_HAS_SYSTEM_ERROR
#endif
#if BOOST_WORKAROUND(BOOST_GCC, < 40600)
// g++ 4.4's <map> is not good enough
# undef BOOST_SYSTEM_HAS_SYSTEM_ERROR
#endif
// BOOST_SYSTEM_NOEXCEPT
// Retained for backward compatibility