From 976c5e6572b544cc4c1cb37dd355e0d6d217a57b Mon Sep 17 00:00:00 2001 From: John Maddock Date: Wed, 2 May 2001 10:58:30 +0000 Subject: [PATCH] Fix for Borland C++ and wchar_t [SVN r10001] --- include/boost/integer_traits.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/boost/integer_traits.hpp b/include/boost/integer_traits.hpp index 8ec2302..0c8afd4 100644 --- a/include/boost/integer_traits.hpp +++ b/include/boost/integer_traits.hpp @@ -82,6 +82,14 @@ class integer_traits { }; #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<> class integer_traits : public std::numeric_limits,