]> git.mxchange.org Git - simgear.git/blob - simgear/compatibility/iostream
1bd55f1f4a60522f1937154dbc11afef979d9658
[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;
27     using ::ios_base;
28     using ::iostream;
29     using ::istream;
30     using ::ostream;
31
32     using ::ifstream;
33     using ::ofstream;
34   };
35
36 # endif
37
38 #endif // !__SG_IOSTREAM
39