diff --git a/config.htm b/config.htm index 518c349e..e426bea8 100644 --- a/config.htm +++ b/config.htm @@ -589,7 +589,10 @@ f(&bar); // should choose #2. BOOST_NO_LIMITS Standard library The C++ implementation does - not provide the <limits> header. + not provide the <limits> header. Never check for this + symbol in library code; always include + <boost/limits.hpp>, which guarantees to provide + std::numeric_limits. BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS diff --git a/include/boost/config/stdlib/sgi.hpp b/include/boost/config/stdlib/sgi.hpp index 45a24cb4..dd086c2c 100644 --- a/include/boost/config/stdlib/sgi.hpp +++ b/include/boost/config/stdlib/sgi.hpp @@ -82,6 +82,8 @@ # include # if defined(__BASTRING__) # define BOOST_NO_LIMITS +// Note: will provide compile-time constants +# undef BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS # define BOOST_NO_STD_WSTRING # endif #endif