diff --git a/include/boost/cast.hpp b/include/boost/cast.hpp index 1311d3a..fcbad0d 100644 --- a/include/boost/cast.hpp +++ b/include/boost/cast.hpp @@ -121,7 +121,7 @@ namespace boost // numeric_cast ------------------------------------------------------------// -#ifndef BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS +#if !defined(BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS) || defined(BOOST_SGI_CPP_LIMITS) namespace detail { @@ -295,7 +295,7 @@ namespace boost typedef std::numeric_limits arg_traits; typedef detail::fixed_numeric_limits result_traits; -#ifndef BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS +#if !defined(BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS) || defined(BOOST_SGI_CPP_LIMITS) // typedefs that act as compile time assertions // (to be replaced by boost compile time assertions // as and when they become available and are stable)