forked from boostorg/smart_ptr
Disable atomic_sp_constexpr_test on libc++
This commit is contained in:
@@ -25,6 +25,11 @@
|
|||||||
# undef HAVE_CONSTEXPR_INIT
|
# undef HAVE_CONSTEXPR_INIT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined( _LIBCPP_VERSION ) && ( _LIBCPP_VERSION < 5000 )
|
||||||
|
// in libc++, atomic_flag has a non-constexpr constructor from bool
|
||||||
|
# undef HAVE_CONSTEXPR_INIT
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !defined( HAVE_CONSTEXPR_INIT ) || defined( BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX )
|
#if !defined( HAVE_CONSTEXPR_INIT ) || defined( BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX )
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
|
Reference in New Issue
Block a user