Disable atomic_sp_constexpr_test on libc++

This commit is contained in:
Peter Dimov
2017-06-20 06:25:27 +03:00
parent e92d79c0a6
commit 0b9547ddad

View File

@@ -25,6 +25,11 @@
# undef HAVE_CONSTEXPR_INIT
#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 )
int main()