From c77a8ee80a7f2a541d60a22b092560c4d3c84587 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sun, 22 Jan 2017 15:27:34 -0800 Subject: [PATCH] Fixed VS2012 build. --- tests/fpumath_test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/fpumath_test.cpp b/tests/fpumath_test.cpp index 2e139f0..c982f86 100644 --- a/tests/fpumath_test.cpp +++ b/tests/fpumath_test.cpp @@ -6,8 +6,8 @@ #include "test.h" #include +#if !BX_COMPILER_MSVC || BX_COMPILER_MSVC >= 1800 #include - TEST_CASE("isFinite, isInfinite, isNan", "") { for (uint64_t ii = 0; ii < UINT32_MAX; ii += rand()%(1<<13)+1) @@ -18,6 +18,7 @@ TEST_CASE("isFinite, isInfinite, isNan", "") REQUIRE(std::isinf(u.f) == bx::isInfinite(u.f) ); } } +#endif // !BX_COMPILER_MSVC || BX_COMPILER_MSVC >= 1800 void mtxCheck(const float* _a, const float* _b) {