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 */ +