]> git.mxchange.org Git - simgear.git/blobdiff - simgear/compatibility/fstream
Don't use floats where ints are more appropriate
[simgear.git] / simgear / compatibility / fstream
index ffe2a0b05a13a603277908780da99b320a99d5c0..bcc00e2a6581efdcad0fa54d2fb71dbf1817629c 100644 (file)
@@ -2,7 +2,18 @@
 #ifndef __SG_FSTREAM
 #define __SG_FSTREAM 1
 
+# if defined(sgi) && !defined(__GNUC__)
+
 # include <fstream.h>
 
+  namespace std {
+    using ::fstream;
+    using ::ifstream;
+    using ::ofstream;
+  };
+
+
+# endif
+
 #endif // !__SG_FSTREAM