From 710c2ccfcd0345de7c66b355a11c4d82a981be2d Mon Sep 17 00:00:00 2001 From: ehofman Date: Fri, 21 May 2004 16:27:16 +0000 Subject: [PATCH] MacOSX fix that never got applied before. --- simgear/scene/sky/cloud.cxx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/simgear/scene/sky/cloud.cxx b/simgear/scene/sky/cloud.cxx index e5b475ae..963c18b3 100644 --- a/simgear/scene/sky/cloud.cxx +++ b/simgear/scene/sky/cloud.cxx @@ -21,11 +21,12 @@ // #include #include -// #if defined (__APPLE__) -// // any C++ header file undefines isinf and isnan -// // so this should be included before -// inline int (isnan)(double r) { return isnan(r); } -// #endif +#if defined (__APPLE__) +// any C++ header file undefines isinf and isnan +// so this should be included before +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) -- 2.39.5