forked from boostorg/config
Merge pull request #136 from mclow/patch-2
define BOOST_NO_AUTO_PTR when building with libc++ and C++17
This commit is contained in:
@ -91,6 +91,9 @@
|
|||||||
#if (_LIBCPP_VERSION < 4000) || (__cplusplus <= 201402L)
|
#if (_LIBCPP_VERSION < 4000) || (__cplusplus <= 201402L)
|
||||||
# define BOOST_NO_CXX17_STD_APPLY
|
# define BOOST_NO_CXX17_STD_APPLY
|
||||||
#endif
|
#endif
|
||||||
|
#if (_LIBCPP_VERSION > 4000) && (__cplusplus > 201402L) && !defined(_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR)
|
||||||
|
# define BOOST_NO_AUTO_PTR
|
||||||
|
#endif
|
||||||
|
|
||||||
#if (_LIBCPP_VERSION <= 1101) && !defined(BOOST_NO_CXX11_THREAD_LOCAL)
|
#if (_LIBCPP_VERSION <= 1101) && !defined(BOOST_NO_CXX11_THREAD_LOCAL)
|
||||||
// This is a bit of a sledgehammer, because really it's just libc++abi that has no
|
// This is a bit of a sledgehammer, because really it's just libc++abi that has no
|
||||||
|
Reference in New Issue
Block a user