diff --git a/include/wx/longlong.h b/include/wx/longlong.h index de468676fd..ca687f6861 100644 --- a/include/wx/longlong.h +++ b/include/wx/longlong.h @@ -1077,6 +1077,12 @@ WXDLLIMPEXP_BASE class wxTextInputStream &operator>>(class wxTextInputStream &st #if wxUSE_LONGLONG_NATIVE +// VC6 is known to not have __int64 specializations of numeric_limits<> in its +// anyhow so don't bother including it, especially as it results in +// tons of warnings because the standard header itself uses obsolete template +// specialization syntax. +#ifndef __VISUALC6__ + #include namespace std @@ -1094,6 +1100,8 @@ template<> class numeric_limits } // namespace std +#endif // !VC6 + #endif // wxUSE_LONGLONG_NATIVE #endif // wxUSE_LONGLONG