]> git.mxchange.org Git - simgear.git/blob - simgear/compatibility/iostream
Patch from Erik Hofman:
[simgear.git] / simgear / compatibility / iostream
1
2 #ifndef __SG_IOSTREAM
3 #define __SG_IOSTREAM 1
4
5 # include <iostream.h>
6 # include <fstream.h>
7
8 #if defined(sgi) && !defined(__GNUC__)
9
10   class ios_base : public ios {
11   public:
12
13     typedef int  openmode;
14     typedef int  seekdir;
15
16     enum { binary = 0 };
17   };
18
19   namespace std {
20     using ::cin;
21     using ::cout;
22     using ::cerr;
23     using ::clog;
24     using ::endl;
25
26     using ::ios_base;
27     using ::istream;
28     using ::ostream;
29
30     using ::ifstream;
31     using ::ofstream;
32   };
33
34 #endif
35
36 #endif // !__SG_IOSTREAM
37