From c54da75efb715c733aabb4dee32f7be0757a06e7 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Tue, 8 May 2001 11:11:30 +0000 Subject: [PATCH] Fixed more wchar_t problems [SVN r10058] --- include/boost/integer_traits.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/boost/integer_traits.hpp b/include/boost/integer_traits.hpp index c0cd045..44f8766 100644 --- a/include/boost/integer_traits.hpp +++ b/include/boost/integer_traits.hpp @@ -85,8 +85,8 @@ class integer_traits template<> class integer_traits : public std::numeric_limits, -#if defined(__BORLANDC__) - // Borland C++ does not have WCHAR_MIN and WCHAR_MAX +#if defined(__BORLANDC__) || defined(__CYGWIN__) || defined(__MINGW32__) || (defined(__BEOS__) && defined(__GNUC__)) + // No WCHAR_MIN and WCHAR_MAX, whar_t is short and unsigned: public detail::integer_traits_base #elif defined(__sgi) && (!defined(__SGI_STL_PORT) || __SGI_STL_PORT < 0x400) // SGI MIPSpro with native library doesn't have them, either @@ -171,3 +171,4 @@ class integer_traits } // namespace boost #endif /* BOOST_INTEGER_TRAITS_HPP */ +