From 903ed301724cf93d65bb83098507fd9195b1e0c6 Mon Sep 17 00:00:00 2001 From: Erik Hofman Date: Wed, 25 May 2016 14:30:06 +0200 Subject: [PATCH] Probably a better fix --- simgear/compiler.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/simgear/compiler.h b/simgear/compiler.h index 4e2bea29..0f0c8347 100644 --- a/simgear/compiler.h +++ b/simgear/compiler.h @@ -63,8 +63,10 @@ #ifdef _MSC_VER # define bcopy(from, to, n) memcpy(to, from, n) -# if _MSC_VER >= 1200 && _MSC_VER < 1800 // msvc++ 6.0 up to MSVC2013 -# define isnan _isnan +# if _MSC_VER >= 1200 // msvc++ 6.0 up to MSVC2013 +# if _MSC_VER < 1800 +# define isnan _isnan +# endif # define snprintf _snprintf # if _MSC_VER < 1500 # define vsnprintf _vsnprintf -- 2.39.5