From d6b81a9721c351adab82aedb996e0cda8df0fecd Mon Sep 17 00:00:00 2001 From: ehofman Date: Sun, 7 Mar 2004 09:28:48 +0000 Subject: [PATCH] MacOS X 10.3 fix --- simgear/scene/sky/cloud.cxx | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) 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