VC6 doesn't specialize numeric_limits<> for its __int64 so it's not
specialized for wxLongLong neither when using this compiler.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67633
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void LongLongTestCase::Limits()
{
+ // VC6 doesn't specialize numeric_limits<> for __int64 so skip this test
+ // for it.
+#ifndef __VISUALC6__
#if wxUSE_LONGLONG_NATIVE
CPPUNIT_ASSERT( std::numeric_limits<wxLongLong>::is_specialized );
CPPUNIT_ASSERT( std::numeric_limits<wxULongLong>::is_specialized );
wxULongLong maxval = std::numeric_limits<wxULongLong>::max();
CPPUNIT_ASSERT( maxval.ToDouble() > 0 );
#endif // wxUSE_LONGLONG_NATIVE
+#endif // !__VISUALC6__
}
#endif // wxUSE_LONGLONG