TypeTraits: Remove use of obsolete GCC version check.

[SVN r86060]
This commit is contained in:
Stephen Kelly
2013-09-30 15:55:29 +00:00
parent 365d61fc4e
commit 3f26103101

View File

@ -119,11 +119,6 @@ class integer_traits<wchar_t>
// - Mac OS X with native library // - Mac OS X with native library
// - gcc on FreeBSD, OpenBSD and NetBSD // - gcc on FreeBSD, OpenBSD and NetBSD
public detail::integer_traits_base<wchar_t, INT_MIN, INT_MAX> public detail::integer_traits_base<wchar_t, INT_MIN, INT_MAX>
#elif defined(__hpux) && defined(__GNUC__) && (__GNUC__ == 2) && !defined(__SGI_STL_PORT)
// No WCHAR_MIN and WCHAR_MAX, wchar_t has the same range as unsigned int.
// - gcc 2.95.x on HP-UX
// (also, std::numeric_limits<wchar_t> appears to return the wrong values).
public detail::integer_traits_base<wchar_t, 0, UINT_MAX>
#else #else
#error No WCHAR_MIN and WCHAR_MAX present, please adjust integer_traits<> for your compiler. #error No WCHAR_MIN and WCHAR_MAX present, please adjust integer_traits<> for your compiler.
#endif #endif