diff --git a/src/Magnum/Math/Test/PackingTest.cpp b/src/Magnum/Math/Test/PackingTest.cpp index 66d56727b..709eaacdf 100644 --- a/src/Magnum/Math/Test/PackingTest.cpp +++ b/src/Magnum/Math/Test/PackingTest.cpp @@ -159,8 +159,8 @@ void PackingTest::packUnsigned() { #ifndef MAGNUM_TARGET_WEBGL CORRADE_COMPARE(Math::pack(0.0l), 0); { - #ifdef CORRADE_MSVC2015_COMPATIBILITY - CORRADE_EXPECT_FAIL("Long double (de)normalization is broken on MSVC <= 2015."); + #ifdef _MSC_VER + CORRADE_EXPECT_FAIL("Long double (de)normalization is broken on MSVC."); #endif CORRADE_COMPARE(Math::pack(1.0l), std::numeric_limits::max()); } @@ -195,15 +195,15 @@ void PackingTest::packSigned() { CORRADE_COMPARE(Math::pack(1.0), std::numeric_limits::max()); { - #ifdef CORRADE_MSVC2015_COMPATIBILITY - CORRADE_EXPECT_FAIL("Long double (de)normalization is broken on MSVC <= 2015."); + #ifdef _MSC_VER + CORRADE_EXPECT_FAIL("Long double (de)normalization is broken on MSVC."); #endif CORRADE_COMPARE(Math::pack(-1.0l), std::numeric_limits::min()+1); } CORRADE_COMPARE(Math::pack(0.0l), 0); { - #ifdef CORRADE_MSVC2015_COMPATIBILITY - CORRADE_EXPECT_FAIL("Long double (de)normalization is broken on MSVC <= 2015."); + #ifdef _MSC_VER + CORRADE_EXPECT_FAIL("Long double (de)normalization is broken on MSVC."); #endif CORRADE_COMPARE(Math::pack(1.0l), std::numeric_limits::max()); } @@ -235,8 +235,8 @@ void PackingTest::reunpackUnsinged() { #ifndef MAGNUM_TARGET_WEBGL CORRADE_COMPARE(Math::unpack(Math::pack(0.0l)), 0.0l); { - #ifdef CORRADE_MSVC2015_COMPATIBILITY - CORRADE_EXPECT_FAIL("Long double (de)normalization is broken on MSVC <= 2015."); + #ifdef _MSC_VER + CORRADE_EXPECT_FAIL("Long double (de)normalization is broken on MSVC."); #endif CORRADE_COMPARE(Math::unpack(Math::pack(1.0l)), 1.0l); } @@ -260,8 +260,8 @@ void PackingTest::reunpackSinged() { CORRADE_COMPARE(Math::unpack(Math::pack(-1.0l)), -1.0l); CORRADE_COMPARE(Math::unpack(Math::pack(0.0l)), 0.0l); { - #ifdef CORRADE_MSVC2015_COMPATIBILITY - CORRADE_EXPECT_FAIL("Long double (de)normalization is broken on MSVC <= 2015."); + #ifdef _MSC_VER + CORRADE_EXPECT_FAIL("Long double (de)normalization is broken on MSVC."); #endif CORRADE_COMPARE(Math::unpack(Math::pack(1.0l)), 1.0l); }