From 125bf3351f2d6e220655581baae3f63c4fdbd7c8 Mon Sep 17 00:00:00 2001 From: Jens Maurer Date: Tue, 8 May 2001 18:15:32 +0000 Subject: [PATCH] gcc on HP-UX doesn't have WCHAR_MIN and WCHAR_MAX [SVN r10068] --- include/boost/integer_traits.hpp | 4 ++++ 1 file changed, 4 insertions(+) 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