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