From: ehofman Date: Sun, 7 Mar 2004 09:28:48 +0000 (+0000) Subject: MacOS X 10.3 fix X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d6b81a9721c351adab82aedb996e0cda8df0fecd;p=simgear.git MacOS X 10.3 fix --- diff --git a/simgear/scene/sky/cloud.cxx b/simgear/scene/sky/cloud.cxx index bcea578c..e5d08e11 100644 --- a/simgear/scene/sky/cloud.cxx +++ b/simgear/scene/sky/cloud.cxx @@ -18,11 +18,18 @@ #include -#include -#include STL_IOSTREAM - +// #include #include +// #if defined (__APPLE__) +// // any C++ header file undefines isinf and isnan +// // so this should be included before +// inline int (isinf)(Real r) { return isinf(r); } +// inline int (isnan)(Real r) { return isnan(r); } +// #endif + +// #include STL_IOSTREAM + #include #include