From: curt Date: Wed, 3 Mar 2004 21:35:38 +0000 (+0000) Subject: #define isnan _isnan for MSVC and Mingwin. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9f59e956faff543c5b0405fb839a34dd28fa452b;p=simgear.git #define isnan _isnan for MSVC and Mingwin. --- diff --git a/simgear/compiler.h b/simgear/compiler.h index 824c9024..52cf3395 100644 --- a/simgear/compiler.h +++ b/simgear/compiler.h @@ -152,6 +152,7 @@ #if defined( __MINGW32__ ) # define bcopy(from, to, n) memcpy(to, from, n) # define FG_MEM_COPY(to,from,n) memcpy(to, from, n) +# define isnan _isnan # define snprintf _snprintf #endif @@ -235,6 +236,7 @@ # define STL_STRING # define STL_STRSTREAM +# define isnan _isnan # define snprintf _snprintf # pragma warning(disable: 4786) // identifier was truncated to '255' characters