forked from boostorg/integer
Fix for Borland C++ and wchar_t
[SVN r10001]
This commit is contained in:
@ -82,6 +82,14 @@ class integer_traits<unsigned char>
|
|||||||
{ };
|
{ };
|
||||||
|
|
||||||
#ifndef BOOST_NO_INTRINSIC_WCHAR_T
|
#ifndef BOOST_NO_INTRINSIC_WCHAR_T
|
||||||
|
#if defined(__BORLANDC__)
|
||||||
|
#ifndef WCHAR_MIN
|
||||||
|
#define WCHAR_MIN 0
|
||||||
|
#endif
|
||||||
|
#ifndef WCHAR_MAX
|
||||||
|
#define WCHAR_MAX 0xFFFF
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
template<>
|
template<>
|
||||||
class integer_traits<wchar_t>
|
class integer_traits<wchar_t>
|
||||||
: public std::numeric_limits<wchar_t>,
|
: public std::numeric_limits<wchar_t>,
|
||||||
|
Reference in New Issue
Block a user