diff --git a/include/boost/integer_traits.hpp b/include/boost/integer_traits.hpp index 4f1c597..c0cd045 100644 --- a/include/boost/integer_traits.hpp +++ b/include/boost/integer_traits.hpp @@ -88,8 +88,8 @@ class integer_traits #if defined(__BORLANDC__) // Borland C++ does not have WCHAR_MIN and WCHAR_MAX public detail::integer_traits_base -#elif defined(__sgi) - // SGI MIPSpro doesn't have them, either +#elif defined(__sgi) && (!defined(__SGI_STL_PORT) || __SGI_STL_PORT < 0x400) + // SGI MIPSpro with native library doesn't have them, either public detail::integer_traits_base #else public detail::integer_traits_base