]> 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 36285efbd55db89c53aa9318bd67dbf672027fa6..f93908c20f08c6832c6a640a0382db29ba2624a3 100644 (file)
@@ -2,10 +2,11 @@
 #ifndef __SG_IOSTREAM
 #define __SG_IOSTREAM 1
 
-# include <iostream.h>
-# include <fstream.h>
+# include <fstream>
+
+# if defined(sgi) && !defined(__GNUC__)
 
-#if defined(sgi) && !defined(__GNUC__)
+# include <iostream.h>
 
   class ios_base : public ios {
   public:
     using ::clog;
     using ::endl;
 
+    using ::ios;
     using ::ios_base;
+    using ::iostream;
     using ::istream;
     using ::ostream;
 
-    using ::ifstream;
-    using ::ofstream;
+    using ::dec;
+    using ::hex;
   };
 
-#endif
+# endif
 
 #endif // !__SG_IOSTREAM