From: curt Date: Sun, 21 Nov 2004 21:45:35 +0000 (+0000) Subject: Fix a dumb bug for FreeBSD. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f10db8a30ec1ad89ec9bc83c163ab7c7423d56a2;p=simgear.git Fix a dumb bug for FreeBSD. --- diff --git a/simgear/scene/sky/cloud.cxx b/simgear/scene/sky/cloud.cxx index e62384b9..d4557064 100644 --- a/simgear/scene/sky/cloud.cxx +++ b/simgear/scene/sky/cloud.cxx @@ -46,7 +46,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