diff --git a/include/boost/type_traits/type_with_alignment.hpp b/include/boost/type_traits/type_with_alignment.hpp index b7e90dc..69868b6 100644 --- a/include/boost/type_traits/type_with_alignment.hpp +++ b/include/boost/type_traits/type_with_alignment.hpp @@ -110,8 +110,10 @@ class type_with_alignment BOOST_STATIC_CONSTANT(std::size_t, found = alignment_of::value); +#if !(defined(__APPLE__) && defined(__MACH__) && defined(__GNUC__)) BOOST_STATIC_ASSERT(found >= Align); BOOST_STATIC_ASSERT(found % Align == 0); +#endif public: typedef align_t type;