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