diff --git a/include/boost/integer_traits.hpp b/include/boost/integer_traits.hpp index 0c8afd4..59d1f40 100644 --- a/include/boost/integer_traits.hpp +++ b/include/boost/integer_traits.hpp @@ -82,18 +82,15 @@ 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, +#if !defined(__BORLANDC__) public detail::integer_traits_base +#else + // Borland C++ does not have WCHAR_MIN and WCHAR_MAX + public detail::integer_traits_base +#endif { }; #endif // BOOST_NO_INTRINSIC_WCHAR_T