From 80c63408334c81a13ad61d0ccd832cba3e63f0d2 Mon Sep 17 00:00:00 2001 From: Beman Dawes Date: Tue, 16 Feb 2010 12:45:53 +0000 Subject: [PATCH] Use BOOST_NO_STATIC_ASSERT [SVN r59698] --- include/boost/static_assert.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/static_assert.hpp b/include/boost/static_assert.hpp index 5bded5e..e8b3d10 100644 --- a/include/boost/static_assert.hpp +++ b/include/boost/static_assert.hpp @@ -38,7 +38,7 @@ # define BOOST_STATIC_ASSERT_BOOL_CAST(x) (bool)(x) #endif -#ifdef BOOST_HAS_STATIC_ASSERT +#ifndef BOOST_NO_STATIC_ASSERT # define BOOST_STATIC_ASSERT( B ) static_assert(B, #B) #else @@ -125,7 +125,7 @@ template struct static_assert_test{}; enum { BOOST_JOIN(boost_static_assert_enum_, __LINE__) \ = sizeof(::boost::STATIC_ASSERTION_FAILURE< (bool)( B ) >) } #endif -#endif // ndef BOOST_HAS_STATIC_ASSERT +#endif // defined(BOOST_NO_STATIC_ASSERT) #endif // BOOST_STATIC_ASSERT_HPP