From 4515a28307d540a0776e201c1b235587f73a9b27 Mon Sep 17 00:00:00 2001 From: Darin Adler Date: Sat, 22 Sep 2001 02:51:51 +0000 Subject: [PATCH] Don't include if BOOST_NO_CWCHAR is defined. [SVN r11189] --- include/boost/detail/limits.hpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/include/boost/detail/limits.hpp b/include/boost/detail/limits.hpp index 21bc627c..5dce73a4 100644 --- a/include/boost/detail/limits.hpp +++ b/include/boost/detail/limits.hpp @@ -18,6 +18,10 @@ * are almost certainly incorrect for any other platform. */ +/* The above comment is almost certainly out of date. This file works + * on systems other than SGI MIPSpro C++ now. + */ + /* * Revision history: * 10 Aug 2001: @@ -35,9 +39,12 @@ #include #include -#include // for WCHAR_MIN and WCHAR_MAX #include +#ifndef BOOST_NO_CWCHAR +#include // for WCHAR_MIN and WCHAR_MAX +#endif + #if defined(__sparc) || defined(__sparc__) || defined(__powerpc__) || defined(__ppc__) || defined(__hppa) || defined(_MIPSEB) #define BOOST_BIG_ENDIAN #elif defined(__i386__)