From 77ec170a50961bc871f70423efb9753ed4beca9d Mon Sep 17 00:00:00 2001 From: ehofman Date: Sat, 15 Jan 2005 14:18:30 +0000 Subject: [PATCH] MingW/MSYS fix --- simgear/sound/soundmgr_openal.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 -- 2.39.5