|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef STLPORT_PREFIX_H |
|
20 # define STLPORT_PREFIX_H |
|
21 |
|
22 # define __BUILDING_STLPORT 1 |
|
23 |
|
24 #if defined (__SYMBIAN32__) |
|
25 //#pragma message("subpressing local implementation.") |
|
26 //# define _STLP_REAL_LOCALE_IMPLEMENTED |
|
27 # undef _STLP_REAL_LOCALE_IMPLEMENTED |
|
28 #else |
|
29 # if defined (_WIN32) || defined (WIN32) |
|
30 # ifdef __cplusplus |
|
31 # define WIN32_LEAN_AND_MEAN |
|
32 # define NOSERVICE |
|
33 # endif |
|
34 # if !(defined (__CYGWIN__) || defined(_WIN32_WCE)) |
|
35 # define _STLP_REAL_LOCALE_IMPLEMENTED |
|
36 # endif |
|
37 # endif |
|
38 #endif |
|
39 |
|
40 # undef _STLP_NO_FORCE_INSTANTIATE |
|
41 |
|
42 /* Please add extra compilation switches for particular compilers here */ |
|
43 |
|
44 # include <stl/_config.h> |
|
45 |
|
46 # if defined (_STLP_USE_TEMPLATE_EXPORT) && defined (_STLP_USE_DECLSPEC) && ! defined (_STLP_EXPOSE_GLOBALS_IMPLEMENTATION) |
|
47 # define _STLP_EXPOSE_GLOBALS_IMPLEMENTATION |
|
48 # endif |
|
49 |
|
50 # ifdef __cplusplus |
|
51 |
|
52 # include <ctime> |
|
53 # if defined (_STLP_USE_NAMESPACES) && ! defined (_STLP_VENDOR_GLOBAL_CSTD) |
|
54 using _STLP_VENDOR_CSTD::time_t; |
|
55 # endif |
|
56 |
|
57 # if defined (_STLP_FUNCTION_TMPL_PARTIAL_ORDER) || defined (__BORLANDC__) |
|
58 #ifdef __SYMBIAN32__ |
|
59 # define _STLP_OPERATOR_SPEC EXPORT_C |
|
60 #else |
|
61 # define _STLP_OPERATOR_SPEC _STLP_DECLSPEC |
|
62 #endif |
|
63 # else |
|
64 # define _STLP_OPERATOR_SPEC _STLP_TEMPLATE_NULL _STLP_DECLSPEC |
|
65 # endif |
|
66 |
|
67 # endif /* __cplusplus */ |
|
68 |
|
69 #endif /* PREFIX */ |
|
70 |