diff --git a/include/boost/mem_fn.hpp b/include/boost/mem_fn.hpp index 9eab3a2..a18aa6f 100644 --- a/include/boost/mem_fn.hpp +++ b/include/boost/mem_fn.hpp @@ -21,6 +21,7 @@ #include #include +#include namespace boost { @@ -292,7 +293,7 @@ public: return call(u, &u); } -#if !defined(BOOST_MSVC) || (BOOST_MSVC > 1300) +#if !BOOST_WORKAROUND(BOOST_MSVC, < 1300) && !BOOST_WORKAROUND(__MWERKS__, BOOST_TESTED_AT(0x3003)) R & operator()(T & t) const {