mirror of
https://github.com/boostorg/system.git
synced 2025-07-30 04:27:14 +02:00
Unconditionally enable BOOST_SYSTEM_HAS_SYSTEM_ERROR
This commit is contained in:
@ -12,17 +12,15 @@
|
|||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
#include <boost/config/workaround.hpp>
|
#include <boost/config/workaround.hpp>
|
||||||
|
|
||||||
// BOOST_SYSTEM_HAS_SYSTEM_ERROR
|
|
||||||
//
|
|
||||||
// The macro BOOST_SYSTEM_DISABLE_THREADS can be defined on configurations
|
// The macro BOOST_SYSTEM_DISABLE_THREADS can be defined on configurations
|
||||||
// that provide <system_error> and <atomic>, but not <mutex>, such as the
|
// that provide <system_error> and <atomic>, but not <mutex>, such as the
|
||||||
// single-threaded libstdc++.
|
// single-threaded libstdc++.
|
||||||
//
|
//
|
||||||
// https://github.com/boostorg/system/issues/92
|
// https://github.com/boostorg/system/issues/92
|
||||||
|
|
||||||
#if !defined(BOOST_NO_CXX11_HDR_SYSTEM_ERROR) && !defined(BOOST_NO_CXX11_HDR_ATOMIC) && ( !defined(BOOST_NO_CXX11_HDR_MUTEX) || defined(BOOST_SYSTEM_DISABLE_THREADS) )
|
// BOOST_SYSTEM_HAS_SYSTEM_ERROR
|
||||||
# define BOOST_SYSTEM_HAS_SYSTEM_ERROR
|
|
||||||
#endif
|
#define BOOST_SYSTEM_HAS_SYSTEM_ERROR
|
||||||
|
|
||||||
// BOOST_SYSTEM_NOEXCEPT
|
// BOOST_SYSTEM_NOEXCEPT
|
||||||
// Retained for backward compatibility
|
// Retained for backward compatibility
|
||||||
|
Reference in New Issue
Block a user