diff --git a/include/boost/integer_traits.hpp b/include/boost/integer_traits.hpp index 44f8766..a7813aa 100644 --- a/include/boost/integer_traits.hpp +++ b/include/boost/integer_traits.hpp @@ -91,6 +91,10 @@ class integer_traits #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 +#elif defined(__hpux) && defined(__GNUC__) && !defined(__SGI_STL_PORT) + // GCC 2.95.2 doesn't have them on HP-UX, either + // (also, std::numeric_limits appears to return the wrong values) + public detail::integer_traits_base #else public detail::integer_traits_base #endif