From 7bcb01dc062134f7d3bc048213d2194d579de79d Mon Sep 17 00:00:00 2001 From: John Maddock Date: Wed, 14 Jul 2004 11:00:11 +0000 Subject: [PATCH] Fix for missing WCHAR_MAX/WCHAR_MIN defines. [SVN r23538] --- include/boost/config/compiler/borland.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/boost/config/compiler/borland.hpp b/include/boost/config/compiler/borland.hpp index d459eb42..531691ef 100644 --- a/include/boost/config/compiler/borland.hpp +++ b/include/boost/config/compiler/borland.hpp @@ -25,6 +25,15 @@ # define BOOST_NO_CV_VOID_SPECIALIZATIONS # define BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS # define BOOST_NO_DEDUCED_TYPENAME +// workaround for missing WCHAR_MAX/WCHAR_MIN: +#include +#include +#ifndef WCHAR_MAX +# define WCHAR_MAX 0xffff +#endif +#ifndef WCHAR_MIN +# define WCHAR_MIN 0 +#endif #endif #if (__BORLANDC__ <= 0x564)