From: ehofman Date: Sat, 15 Jan 2005 14:18:30 +0000 (+0000) Subject: MingW/MSYS fix X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=77ec170a50961bc871f70423efb9753ed4beca9d;p=simgear.git MingW/MSYS fix --- diff --git a/simgear/sound/soundmgr_openal.cxx b/simgear/sound/soundmgr_openal.cxx index c438a653..bfdda682 100644 --- a/simgear/sound/soundmgr_openal.cxx +++ b/simgear/sound/soundmgr_openal.cxx @@ -42,10 +42,6 @@ inline int (isinf)(double r) { return isinf(r); } inline int (isnan)(double r) { return isnan(r); } #endif -#if defined(__MINGW32__) -#define isnan(x) _isnan(x) -#endif - #if defined (__FreeBSD__) # if __FreeBSD_version < 500000 extern "C" { @@ -61,6 +57,9 @@ inline int (isnan)(double r) { return isnan(r); } #include "soundmgr_openal.hxx" +#if defined(__MINGW32__) +#define isnan(x) _isnan(x) +#endif // // Sound Manager