Fixed more wchar_t problems

[SVN r10058]
This commit is contained in:
John Maddock
2001-05-08 11:11:30 +00:00
parent 2dd1bee693
commit c54da75efb

View File

@ -85,8 +85,8 @@ class integer_traits<unsigned char>
template<> template<>
class integer_traits<wchar_t> class integer_traits<wchar_t>
: public std::numeric_limits<wchar_t>, : public std::numeric_limits<wchar_t>,
#if defined(__BORLANDC__) #if defined(__BORLANDC__) || defined(__CYGWIN__) || defined(__MINGW32__) || (defined(__BEOS__) && defined(__GNUC__))
// Borland C++ does not have WCHAR_MIN and WCHAR_MAX // No WCHAR_MIN and WCHAR_MAX, whar_t is short and unsigned:
public detail::integer_traits_base<wchar_t, 0, 0xffff> public detail::integer_traits_base<wchar_t, 0, 0xffff>
#elif defined(__sgi) && (!defined(__SGI_STL_PORT) || __SGI_STL_PORT < 0x400) #elif defined(__sgi) && (!defined(__SGI_STL_PORT) || __SGI_STL_PORT < 0x400)
// SGI MIPSpro with native library doesn't have them, either // SGI MIPSpro with native library doesn't have them, either
@ -171,3 +171,4 @@ class integer_traits<unsigned long long>
} // namespace boost } // namespace boost
#endif /* BOOST_INTEGER_TRAITS_HPP */ #endif /* BOOST_INTEGER_TRAITS_HPP */