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__)