1 clocale |
1 /* |
|
2 * Copyright (c) 1999 |
|
3 * Boris Fomitchev |
|
4 * |
|
5 * This material is provided "as is", with absolutely no warranty expressed |
|
6 * or implied. Any use is at your own risk. |
|
7 * |
|
8 * Permission to use or copy this software for any purpose is hereby granted |
|
9 * without fee, provided the above notices are retained on all copies. |
|
10 * Permission to modify the code and to distribute modified code is granted, |
|
11 * provided the above notices are retained, and a notice that the code was |
|
12 * modified is included with the above copyright notice. |
|
13 * |
|
14 */ |
|
15 |
|
16 #ifndef _STLP_CLOCALE |
|
17 # define _STLP_CLOCALE |
|
18 |
|
19 # ifndef _STLP_OUTERMOST_HEADER_ID |
|
20 # define _STLP_OUTERMOST_HEADER_ID 0x108 |
|
21 # include <stl/_prolog.h> |
|
22 # endif |
|
23 |
|
24 # if defined (_STLP_USE_NEW_C_HEADERS) |
|
25 # include _STLP_NATIVE_CPP_C_HEADER(clocale) |
|
26 # else |
|
27 #ifdef __SYMBIAN32__ |
|
28 # include <locale.h> |
|
29 #else |
|
30 # include _STLP_NATIVE_C_HEADER(locale.h) |
|
31 #endif |
|
32 # endif |
|
33 |
|
34 # ifdef _STLP_IMPORT_VENDOR_CSTD |
|
35 _STLP_BEGIN_NAMESPACE |
|
36 using _STLP_VENDOR_CSTD::lconv; |
|
37 # if ! defined (_STLP_NO_CSTD_FUNCTION_IMPORTS) |
|
38 using _STLP_VENDOR_CSTD::localeconv; |
|
39 using _STLP_VENDOR_CSTD::setlocale; |
|
40 using _STLP_VENDOR_CSTD::mbstate_t; |
|
41 # endif |
|
42 _STLP_END_NAMESPACE |
|
43 # endif /* _STLP_IMPORT_VENDOR_CSTD */ |
|
44 |
|
45 # if (_STLP_OUTERMOST_HEADER_ID == 0x108 ) |
|
46 # include <stl/_epilog.h> |
|
47 # undef _STLP_OUTERMOST_HEADER_ID |
|
48 # endif |
|
49 |
|
50 #endif /* _STLP_CLOCALE */ |
|
51 |
|
52 // Local Variables: |
|
53 // mode:C++ |
|
54 // End: |