minor tweak for Cygnus (thanks to Ross Smith)

[SVN r10212]
This commit is contained in:
Jens Maurer
2001-05-24 09:20:49 +00:00
parent 20439e1aef
commit b700c25f06

View File

@ -268,12 +268,13 @@ class numeric_limits<unsigned char>
: public _Integer_limits<unsigned char, 0, UCHAR_MAX> : public _Integer_limits<unsigned char, 0, UCHAR_MAX>
{}; {};
#ifndef _WIN32 #if !defined(_WIN32) && !defined(__CYGWIN__)
template<> template<>
class numeric_limits<wchar_t> class numeric_limits<wchar_t>
: public _Integer_limits<wchar_t, INT_MIN, INT_MAX> : public _Integer_limits<wchar_t, INT_MIN, INT_MAX>
{}; {};
#else #else
template<>
class numeric_limits<wchar_t> class numeric_limits<wchar_t>
: public _Integer_limits<wchar_t, 0, USHRT_MAX> : public _Integer_limits<wchar_t, 0, USHRT_MAX>
{}; {};