Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
2 * © Portions copyright (c) 2006-2007 Nokia Corporation. All rights reserved.
7 * This material is provided "as is", with absolutely no warranty expressed
8 * or implied. Any use is at your own risk.
10 * Permission to use or copy this software for any purpose is hereby granted
11 * without fee, provided the above notices are retained on all copies.
12 * Permission to modify the code and to distribute modified code is granted,
13 * provided the above notices are retained, and a notice that the code was
14 * modified is included with the above copyright notice.
21 # ifndef _STLP_OUTERMOST_HEADER_ID
22 # define _STLP_OUTERMOST_HEADER_ID 0x120
23 # include <stl/_prolog.h>
30 # if ! defined (_STLP_WINCE)
32 # if defined (__BORLANDC__) && (__BORLANDC__ >= 0x530 ) && ! defined (_STLP_OWN_IOSTREAMS)
33 /* Borland defines this stuff here */
37 # if ! defined (_STLP_NO_CWCHAR) && defined (_STLP_USE_NEW_C_HEADERS)
38 # include _STLP_NATIVE_CPP_C_HEADER(cwchar)
40 # elif defined (__MRC__) || (defined (__SC__) && !defined (__DMC__)) || defined (__BORLANDC__) || defined(__FreeBSD__) || (defined (__GNUC__) && defined (__APPLE__) || defined( __Lynx__ )) || defined (__SYMBIAN32__) || defined (__WINS__) || defined (_STLP_NO_WCHAR_T)
45 # include _STLP_NATIVE_C_HEADER(stddef.h)
48 # if defined (__FreeBSD__) || defined (__Lynx__) || defined (__WINS__) || defined (__SYMBIAN32__)
53 # include _STLP_NATIVE_C_HEADER(wchar.h)
60 # include _STLP_NATIVE_C_HEADER(wchar.h)
62 # if defined(__sun) && (defined(_XOPEN_SOURCE) || (_XOPEN_VERSION - 0 == 4))
63 extern wint_t btowc();
64 extern int fwprintf();
68 extern size_t mbrlen();
69 extern size_t mbrtowc();
70 extern size_t mbsrtowcs();
71 extern int swprintf();
73 extern int vfwprintf();
74 extern int vwprintf();
75 extern int vswprintf();
76 extern size_t wcrtomb();
77 extern size_t wcsrtombs();
78 extern wchar_t *wcsstr();
80 extern wchar_t *wmemchr();
82 extern wchar_t *wmemcpy();
83 extern wchar_t *wmemmove();
84 extern wchar_t *wmemset();
90 #if defined(__MSL__) && __MSL__ <= 0x51FF /* dwa 2/28/99 - not yet implemented by MSL */
91 # define _STLP_WCHAR_MSL_EXCLUDE 1
94 extern "C" size_t wcsftime(wchar_t * str, size_t max_size, const wchar_t * format_str, const struct tm * timeptr);
96 # define _STLP_NO_MBSTATE_T 1
97 #elif defined (__BORLANDC__)
98 # ifdef _STLP_OWN_IOSTREAMS
99 # define _STLP_NO_NATIVE_MBSTATE_T
101 # define _STLP_WCHAR_BORLAND_EXCLUDE 1
102 # if (__BORLANDC__ < 0x540 )
103 # define _STLP_NO_MBSTATE_T 1
104 # define _STLP_WCHAR_SUNPRO_EXCLUDE
108 #ifndef _STLP_CWCHAR_H
109 # include <stl/_cwchar.h>
112 # ifdef _STLP_IMPORT_VENDOR_CSTD
114 #if defined (__SUNPRO_CC) && defined (_STLP_NO_OWN_IOSTREAMS) && !defined (_STLP_HAS_NO_NEW_C_HEADERS)
115 using _STLP_VENDOR_CSTD::wint_t;
118 _STLP_BEGIN_NAMESPACE
119 # ifdef _STLP_NO_WCHAR_T
122 // gcc 3.0 has a glitch : wint_t only sucked into the global namespace if _GLIBCPP_USE_WCHAR_T is defined
123 # if defined (__GNUC__) && ! defined (_GLIBCPP_USE_WCHAR_T)
126 using _STLP_VENDOR_CSTD::wint_t;
131 using _STLP_VENDOR_CSTD::size_t;
133 # if !defined (_STLP_NO_NATIVE_MBSTATE_T) && ! defined (_STLP_USE_OWN_MBSTATE_T)
134 using _STLP_VENDOR_MB_NAMESPACE::mbstate_t;
136 # if !defined (_STLP_NO_CSTD_FUNCTION_IMPORTS) && !defined(_STLP_WCHAR_BORLAND_EXCLUDE) \
137 && (!defined(__MSL__) || __MSL__ > 0x6001)
138 # if ! (defined (__KCC) || defined (__GNUC__))
139 using _STLP_VENDOR_MB_NAMESPACE::btowc;
140 # if (!defined(__MSL__) || __MSL__ > 0x7001)
141 using _STLP_VENDOR_MB_NAMESPACE::mbsinit;
144 # if ! defined (__GNUC__)
145 using _STLP_VENDOR_MB_NAMESPACE::mbrlen;
146 using _STLP_VENDOR_MB_NAMESPACE::mbrtowc;
147 using _STLP_VENDOR_MB_NAMESPACE::mbsrtowcs;
148 using _STLP_VENDOR_MB_NAMESPACE::wcrtomb;
149 using _STLP_VENDOR_MB_NAMESPACE::wcsrtombs;
151 # endif /* BORLAND && !__MSL__ || __MSL__ > 0x6001 */
153 # endif /* _STLP_NO_NATIVE_MBSTATE_T */
155 # if !defined (_STLP_NO_NATIVE_WIDE_FUNCTIONS) && ! defined (_STLP_NO_CSTD_FUNCTION_IMPORTS)
157 # if !defined (_STLP_WCHAR_BORLAND_EXCLUDE) && ! defined (_STLP_NO_CSTD_FUNCTION_IMPORTS)
158 using _STLP_VENDOR_CSTD::fgetwc;
159 using _STLP_VENDOR_CSTD::fgetws;
160 using _STLP_VENDOR_CSTD::fputwc;
161 using _STLP_VENDOR_CSTD::fputws;
164 # if !( defined (_STLP_WCHAR_SUNPRO_EXCLUDE) || defined (_STLP_WCHAR_BORLAND_EXCLUDE) \
165 || defined(_STLP_WCHAR_HPACC_EXCLUDE) )
167 using _STLP_VENDOR_CSTD::fwide;
169 using _STLP_VENDOR_CSTD::fwprintf;
170 using _STLP_VENDOR_CSTD::fwscanf;
171 using _STLP_VENDOR_CSTD::getwchar;
174 # ifndef _STLP_WCHAR_BORLAND_EXCLUDE
175 using _STLP_VENDOR_CSTD::getwc;
176 using _STLP_VENDOR_CSTD::ungetwc;
178 using _STLP_VENDOR_CSTD::putwc;
179 using _STLP_VENDOR_CSTD::putwchar;
182 # if !( defined (_STLP_WCHAR_SUNPRO_EXCLUDE) || defined (_STLP_WCHAR_BORLAND_EXCLUDE)\
183 || defined(_STLP_WCHAR_HPACC_EXCLUDE) )
184 using _STLP_VENDOR_CSTD::swprintf;
185 using _STLP_VENDOR_CSTD::swscanf;
186 using _STLP_VENDOR_CSTD::vfwprintf;
187 using _STLP_VENDOR_CSTD::vwprintf;
188 using _STLP_VENDOR_CSTD::vswprintf;
190 # if !defined(__MSL__) || __MSL__ > 0x7001
191 using _STLP_VENDOR_CSTD::wcsftime;
193 using _STLP_VENDOR_CSTD::wcstok;
197 # if !(defined (__BORLANDC__) && (__BORLANDC__ < 0x540))
198 using _STLP_VENDOR_CSTD::wcscat;
199 using _STLP_VENDOR_CSTD::wcsrchr;
200 using _STLP_VENDOR_CSTD::wcscmp;
201 using _STLP_VENDOR_CSTD::wcscoll;
203 using _STLP_VENDOR_CSTD::wcscpy;
204 using _STLP_VENDOR_CSTD::wcscspn;
206 using _STLP_VENDOR_CSTD::wcslen;
207 using _STLP_VENDOR_CSTD::wcsncat;
208 using _STLP_VENDOR_CSTD::wcsncmp;
209 using _STLP_VENDOR_CSTD::wcsncpy;
210 using _STLP_VENDOR_CSTD::wcspbrk;
211 using _STLP_VENDOR_CSTD::wcschr;
213 using _STLP_VENDOR_CSTD::wcsspn;
214 using _STLP_VENDOR_CSTD::wcsxfrm;
218 # if !defined (_STLP_WCHAR_BORLAND_EXCLUDE)
220 using _STLP_VENDOR_CSTD::wcstod;
221 using _STLP_VENDOR_CSTD::wcstol;
227 using _STLP_VENDOR_CSTD::wcstoul;
229 #endif //__SYMBIAN32__
231 # if !( defined (_STLP_WCHAR_SUNPRO_EXCLUDE) || defined(_STLP_WCHAR_HPACC_EXCLUDE) )
233 using _STLP_VENDOR_CSTD::wcsstr;
234 using _STLP_VENDOR_CSTD::wmemchr;
236 # if !defined (_STLP_WCHAR_BORLAND_EXCLUDE)
239 using _STLP_VENDOR_CSTD::wctob;
240 using _STLP_VENDOR_CSTD::wmemcmp;
242 using _STLP_VENDOR_CSTD::wmemmove;
243 using _STLP_VENDOR_CSTD::wprintf;
244 using _STLP_VENDOR_CSTD::wscanf;
248 using _STLP_VENDOR_CSTD::wmemcpy;
249 using _STLP_VENDOR_CSTD::wmemset;
252 # endif /* _STLP_NO_NATIVE_WIDE_FUNCTIONS */
254 # endif /* _STLP_IMPORT_VENDOR_CSTD */
256 # undef _STLP_WCHAR_SUNPRO_EXCLUDE
257 # undef _STLP_WCHAR_MSL_EXCLUDE
261 # if (_STLP_OUTERMOST_HEADER_ID == 0x120)
262 # include <stl/_epilog.h>
263 # undef _STLP_OUTERMOST_HEADER_ID
266 #endif /* _STLP_CWCHAR */