diff --git a/simgear/sound/soundmgr_openal.cxx b/simgear/sound/soundmgr_openal.cxx index b525b31f..e9e2dfbc 100644 --- a/simgear/sound/soundmgr_openal.cxx +++ b/simgear/sound/soundmgr_openal.cxx @@ -47,7 +47,7 @@ inline int (isnan)(double r) { return isnan(r); } #endif #if defined (__FreeBSD__) -inline int isnan(double r) { return !(r < 0 || r > 0); } +inline int isnan(double r) { return !(r <= 0 || r >= 0); } #endif #include STL_IOSTREAM