]> git.mxchange.org Git - simgear.git/commitdiff
MacOS X 10.3 fix
authorehofman <ehofman>
Sun, 7 Mar 2004 09:28:48 +0000 (09:28 +0000)
committerehofman <ehofman>
Sun, 7 Mar 2004 09:28:48 +0000 (09:28 +0000)
simgear/scene/sky/cloud.cxx

index bcea578c0b1bac493381eead01de533c0eb5d16c..e5d08e1144c5c3ec8a128c5327c554ad0bb10ea3 100644 (file)
 
 #include <simgear/compiler.h>
 
-#include <stdio.h>
-#include STL_IOSTREAM
-
+// #include <stdio.h>
 #include <math.h>
 
+// #if defined (__APPLE__) 
+// // any C++ header file undefines isinf and isnan
+// // so this should be included before <iostream>
+// inline int (isinf)(Real r) { return isinf(r); }
+// inline int (isnan)(Real r) { return isnan(r); }
+// #endif
+
+// #include STL_IOSTREAM
+
 #include <plib/sg.h>
 #include <plib/ssg.h>