From 2b08995c24de6d98306c1ae27c7bed44f14365c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 16 Feb 2019 14:59:19 +0100 Subject: [PATCH] Math: after the pack() fix, some Android issues are no more. Yay! --- src/Magnum/Math/Test/PackingTest.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Magnum/Math/Test/PackingTest.cpp b/src/Magnum/Math/Test/PackingTest.cpp index 9f27ba1f5..152b472dc 100644 --- a/src/Magnum/Math/Test/PackingTest.cpp +++ b/src/Magnum/Math/Test/PackingTest.cpp @@ -173,8 +173,8 @@ void PackingTest::packUnsigned() { #ifndef MAGNUM_TARGET_WEBGL CORRADE_COMPARE(Math::pack(0.0l), 0); { - #if defined(_MSC_VER) || (defined(CORRADE_TARGET_ANDROID) && !__LP64__) - CORRADE_EXPECT_FAIL("Long double (de)normalization is broken on MSVC and 32-bit Android."); + #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()); } @@ -248,8 +248,8 @@ void PackingTest::reunpackUnsigned() { #ifndef MAGNUM_TARGET_WEBGL CORRADE_COMPARE(Math::unpack(Math::pack(0.0l)), 0.0l); { - #if defined(_MSC_VER) || (defined(CORRADE_TARGET_ANDROID) && !__LP64__) - CORRADE_EXPECT_FAIL("Long double (de)normalization is broken on MSVC and 32-bit Android."); + #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); }