diff --git a/include/boost/static_assert.hpp b/include/boost/static_assert.hpp index 0f26210..c6105c7 100644 --- a/include/boost/static_assert.hpp +++ b/include/boost/static_assert.hpp @@ -15,6 +15,7 @@ #define BOOST_STATIC_ASSERT_HPP #include +#include #ifdef __BORLANDC__ // @@ -56,7 +57,8 @@ template struct static_assert_test{}; // style casts: too many compilers currently have problems with static_cast // when used inside integral constant expressions. // -#if !defined(BOOST_BUGGY_INTEGRAL_CONSTANT_EXPRESSIONS) && !defined(__MWERKS__) +#if !defined(BOOST_BUGGY_INTEGRAL_CONSTANT_EXPRESSIONS) && \ + !BOOST_WORKAROUND(__MWERKS__, < 0x3003) #if defined(BOOST_MSVC) && (BOOST_MSVC < 1300) // __LINE__ macro broken when -ZI is used see Q199057