forked from boostorg/integer
IRIX doesn't have WCHAR_MIN and WCHAR_MAX, either
[SVN r10005]
This commit is contained in:
@ -85,11 +85,14 @@ 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__)
|
||||||
public detail::integer_traits_base<wchar_t, WCHAR_MIN, WCHAR_MAX>
|
|
||||||
#else
|
|
||||||
// Borland C++ does not have WCHAR_MIN and WCHAR_MAX
|
// Borland C++ does not have WCHAR_MIN and WCHAR_MAX
|
||||||
public detail::integer_traits_base<wchar_t, 0, 0xffff>
|
public detail::integer_traits_base<wchar_t, 0, 0xffff>
|
||||||
|
#elif defined(__sgi)
|
||||||
|
// SGI MIPSpro doesn't have them, either
|
||||||
|
public detail::integer_traits_base<wchar_t, INT_MIN, INT_MAX>
|
||||||
|
#else
|
||||||
|
public detail::integer_traits_base<wchar_t, WCHAR_MIN, WCHAR_MAX>
|
||||||
#endif
|
#endif
|
||||||
{ };
|
{ };
|
||||||
#endif // BOOST_NO_INTRINSIC_WCHAR_T
|
#endif // BOOST_NO_INTRINSIC_WCHAR_T
|
||||||
|
Reference in New Issue
Block a user