|
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 #ifndef STLPORT_PREFIX_H |
|
18 #define STLPORT_PREFIX_H |
|
19 |
|
20 #define __BUILDING_STLPORT 1 |
|
21 |
|
22 #if defined (_WIN32) || defined (WIN32) |
|
23 # ifdef __cplusplus |
|
24 # define WIN32_LEAN_AND_MEAN |
|
25 # define NOSERVICE |
|
26 # endif |
|
27 # if !(defined (__CYGWIN__) || defined (_WIN32_WCE)) |
|
28 # define _STLP_REAL_LOCALE_IMPLEMENTED |
|
29 # endif |
|
30 #endif |
|
31 |
|
32 #undef _STLP_NO_FORCE_INSTANTIATE |
|
33 |
|
34 /* Please add extra compilation switches for particular compilers here */ |
|
35 |
|
36 #if defined (_MSC_VER) && !defined (__COMO__) && !defined (__MWERKS__) |
|
37 # include "warning_disable.h" |
|
38 #endif |
|
39 |
|
40 #include <stl/config/features.h> |
|
41 |
|
42 #if defined (_STLP_USE_TEMPLATE_EXPORT) && defined (_STLP_USE_DECLSPEC) && !defined (_STLP_EXPOSE_GLOBALS_IMPLEMENTATION) |
|
43 # define _STLP_EXPOSE_GLOBALS_IMPLEMENTATION |
|
44 #endif |
|
45 |
|
46 #ifdef __cplusplus |
|
47 |
|
48 # include <ctime> |
|
49 # if defined (_STLP_USE_NAMESPACES) && !defined (_STLP_VENDOR_GLOBAL_CSTD) |
|
50 using _STLP_VENDOR_CSTD::time_t; |
|
51 # endif |
|
52 |
|
53 # if defined (_STLP_FUNCTION_TMPL_PARTIAL_ORDER) |
|
54 # define _STLP_OPERATOR_SPEC _STLP_DECLSPEC |
|
55 # else |
|
56 # define _STLP_OPERATOR_SPEC _STLP_TEMPLATE_NULL _STLP_DECLSPEC |
|
57 # endif |
|
58 |
|
59 #endif /* __cplusplus */ |
|
60 |
|
61 #endif /* PREFIX */ |
|
62 |