]> git.mxchange.org Git - flightgear.git/commitdiff
Fixes for compiling with native Irix compilers.
authorcurt <curt>
Wed, 7 Apr 1999 20:58:02 +0000 (20:58 +0000)
committercurt <curt>
Wed, 7 Apr 1999 20:58:02 +0000 (20:58 +0000)
Lib/Bucket/newbucket.hxx
Simulator/Airports/simple.hxx
Simulator/FDM/flight.hxx
Simulator/Scenery/tilemgr.cxx

index a616677e368c6b6719396b34d126c2a24f94f126..101ef7ae3e28261db86fbe066597cd0781ae7d38 100644 (file)
 #endif
 
 FG_USING_STD(string);
+
+#if ! defined( FG_HAVE_NATIVE_SGI_COMPILERS )
 FG_USING_STD(ostream);
+#endif
 
 #include <Include/fg_constants.h>
 
index d125fdb1329c672a842e3c066fc68e2a507fc36f..99abb4200ce21244676a1b7a9cd331c1370fbfb9 100644 (file)
@@ -36,6 +36,8 @@
 #include <Include/compiler.h>
 #ifdef FG_HAVE_STD_INCLUDES
 #  include <istream>
+#elif defined( FG_HAVE_NATIVE_SGI_COMPILERS )
+#  include <iostream.h>
 #else
 #  include <istream.h>
 #endif
 
 FG_USING_STD(string);
 FG_USING_STD(set);
+
+#if ! defined( FG_HAVE_NATIVE_SGI_COMPILERS )
 FG_USING_STD(istream);
+#endif
 
 
 class fgAIRPORT {
index 99a2e9b813696cc215e1065c7e3a0ba91aaabd50..5afc060c40c4c1a5e21c97e8c37c5943767c2a8e 100644 (file)
@@ -81,6 +81,8 @@
  */
 
 
+#include <math.h>
+
 #include <Time/timestamp.hxx>
 
 #ifndef __cplusplus                                                          
index 794eda37822e5aa81bdc0b6b25ed6a6d0e461eed..d62a320a0c53bb9e5b426b973325705c5d66ca23 100644 (file)
@@ -88,7 +88,7 @@ int fgTileMgrInit( void ) {
 
 
 // load a tile
-void fgTileMgrLoadTile( const FGBucket& p, int *index) {
+void fgTileMgrLoadTile( FGBucket& p, int *index) {
     fgTILECACHE *c;
 
     c = &global_tile_cache;