diff --git a/include/boost/detail/limits.hpp b/include/boost/detail/limits.hpp index 58834ae5..e1da4059 100644 --- a/include/boost/detail/limits.hpp +++ b/include/boost/detail/limits.hpp @@ -268,6 +268,8 @@ class numeric_limits : public _Integer_limits {}; +#ifndef BOOST_NO_INTRINSIC_WCHAR_T +#if !defined(WCHAR_MAX) || !defined(WCHAR_MIN) #if !defined(_WIN32) && !defined(__CYGWIN__) template<> class numeric_limits @@ -279,6 +281,13 @@ class numeric_limits : public _Integer_limits {}; #endif +#else +template<> +class numeric_limits + : public _Integer_limits +{}; +#endif +#endif template<> class numeric_limits