]> git.mxchange.org Git - simgear.git/blobdiff - simgear/compatibility/iostream
Don't use floats where ints are more appropriate
[simgear.git] / simgear / compatibility / iostream
index 1bd55f1f4a60522f1937154dbc11afef979d9658..f93908c20f08c6832c6a640a0382db29ba2624a3 100644 (file)
@@ -2,11 +2,12 @@
 #ifndef __SG_IOSTREAM
 #define __SG_IOSTREAM 1
 
-# include <iostream.h>
-# include <fstream.h>
+# include <fstream>
 
 # if defined(sgi) && !defined(__GNUC__)
 
+# include <iostream.h>
+
   class ios_base : public ios {
   public:
 
@@ -29,8 +30,8 @@
     using ::istream;
     using ::ostream;
 
-    using ::ifstream;
-    using ::ofstream;
+    using ::dec;
+    using ::hex;
   };
 
 # endif