mirror of
https://github.com/boostorg/system.git
synced 2025-07-30 12:37:13 +02:00
Disable <system_error> interoperation on g++ 4.4/4.5
This commit is contained in:
@ -9,6 +9,7 @@
|
|||||||
// See http://www.boost.org/libs/system for documentation.
|
// See http://www.boost.org/libs/system for documentation.
|
||||||
|
|
||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
|
#include <boost/config/workaround.hpp>
|
||||||
|
|
||||||
// BOOST_SYSTEM_HAS_SYSTEM_ERROR
|
// BOOST_SYSTEM_HAS_SYSTEM_ERROR
|
||||||
|
|
||||||
@ -16,6 +17,11 @@
|
|||||||
# define BOOST_SYSTEM_HAS_SYSTEM_ERROR
|
# define BOOST_SYSTEM_HAS_SYSTEM_ERROR
|
||||||
#endif
|
#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
|
// BOOST_SYSTEM_NOEXCEPT
|
||||||
// Retained for backward compatibility
|
// Retained for backward compatibility
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user