From 5f7d79f78c30556032e688a72d04c8d6c2fe39f2 Mon Sep 17 00:00:00 2001 From: Erik Hofman Date: Wed, 25 May 2016 09:08:52 +0200 Subject: [PATCH] MSVC 2013 and later define std::isnan --- simgear/compiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simgear/compiler.h b/simgear/compiler.h index 795747d5..4e2bea29 100644 --- a/simgear/compiler.h +++ b/simgear/compiler.h @@ -63,7 +63,7 @@ #ifdef _MSC_VER # define bcopy(from, to, n) memcpy(to, from, n) -# if _MSC_VER >= 1200 // msvc++ 6.0 or greater +# if _MSC_VER >= 1200 && _MSC_VER < 1800 // msvc++ 6.0 up to MSVC2013 # define isnan _isnan # define snprintf _snprintf # if _MSC_VER < 1500 -- 2.39.5