|
1 /* |
|
2 * Copyright (c) 1999 |
|
3 * Silicon Graphics Computer Systems, Inc. |
|
4 * |
|
5 * Copyright (c) 1999 |
|
6 * Boris Fomitchev |
|
7 * |
|
8 * This material is provided "as is", with absolutely no warranty expressed |
|
9 * or implied. Any use is at your own risk. |
|
10 * |
|
11 * Permission to use or copy this software for any purpose is hereby granted |
|
12 * without fee, provided the above notices are retained on all copies. |
|
13 * Permission to modify the code and to distribute modified code is granted, |
|
14 * provided the above notices are retained, and a notice that the code was |
|
15 * modified is included with the above copyright notice. |
|
16 * |
|
17 */ |
|
18 #ifndef _STLP_STREAMBUF_H |
|
19 #define _STLP_STREAMBUF_H |
|
20 |
|
21 #ifndef _STLP_OUTERMOST_HEADER_ID |
|
22 # define _STLP_OUTERMOST_HEADER_ID 0x2067 |
|
23 # include <stl/_prolog.h> |
|
24 #endif |
|
25 |
|
26 #include <stl/_ioserr.h> |
|
27 |
|
28 #include <streambuf> |
|
29 |
|
30 #include <ios.h> |
|
31 |
|
32 #ifndef _STLP_HAS_NO_NAMESPACES |
|
33 # ifdef _STLP_BROKEN_USING_DIRECTIVE |
|
34 _STLP_USING_NAMESPACE(stlport) |
|
35 # else |
|
36 using _STLP_STD::basic_streambuf; |
|
37 using _STLP_STD::streambuf; |
|
38 # ifndef _STLP_NO_WCHAR_T |
|
39 using _STLP_STD::wstreambuf; |
|
40 # endif |
|
41 # endif |
|
42 #endif /* _STLP_HAS_NO_NAMESPACES */ |
|
43 |
|
44 #if (_STLP_OUTERMOST_HEADER_ID == 0x2067) |
|
45 # include <stl/_epilog.h> |
|
46 # undef _STLP_OUTERMOST_HEADER_ID |
|
47 #endif |
|
48 |
|
49 #endif /* _STLP_STREAMBUF_H */ |
|
50 |
|
51 // Local Variables: |
|
52 // mode:C++ |
|
53 // End: |