]> git.mxchange.org Git - simgear.git/blob - simgear/compatibility/streambuf
Added missing Makefile.am from Erik Hofman.
[simgear.git] / simgear / compatibility / streambuf
1
2 #ifndef __SG_STREAMBUF
3 #define __SG_STREAMBUF 1
4
5 #if defined(sgi) && !defined(__GNUC__)
6
7 # include <char_traits.h>
8 # include <iostream>
9
10 # define pubsync sync
11
12   using std::char_traits;
13
14   typedef char_traits<char>            traits_type;
15   typedef char_traits<char>::int_type  int_type;
16
17   typedef streampos  pos_type;
18   typedef streamoff  off_type;
19
20   namespace std {
21     using ::streambuf;
22     using ::streampos;
23     using ::streamoff;
24   };
25
26 #endif
27
28 #endif // !__SG_STREAMBUF
29