|
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 // STLport configuration file |
|
18 // It is internal STLport header - DO NOT include it directly |
|
19 |
|
20 #define _STLP_COMPILER "CC" |
|
21 |
|
22 #define _STLP_HAS_SPECIFIC_PROLOG_EPILOG |
|
23 |
|
24 // define native include path before trying to include anything |
|
25 |
|
26 #define _STLP_NATIVE_HEADER(__x) </usr/include/CC/##__x> |
|
27 #define _STLP_NATIVE_C_HEADER(__x) </usr/include/##__x> |
|
28 #define _STLP_NATIVE_OLD_STREAMS_HEADER(__x) </usr/include/CC/##__x> |
|
29 #define _STLP_NATIVE_CPP_C_HEADER(__x) </usr/include/CC/##__x> |
|
30 #define _STLP_NATIVE_CPP_RUNTIME_HEADER(__x) </usr/include/CC/##__x> |
|
31 |
|
32 #define _STLP_NO_NATIVE_MBSTATE_T |
|
33 |
|
34 #define _STLP_NO_USING_FOR_GLOBAL_FUNCTIONS |
|
35 #define _STLP_NO_NATIVE_WIDE_FUNCTIONS |
|
36 #define _STLP_NO_MEMBER_TEMPLATE_CLASSES |
|
37 |
|
38 // #define _STLP_NO_BAD_ALLOC |
|
39 |
|
40 #define _STL_HAS_NAMESPACES |
|
41 |
|
42 #if ! defined (__EXCEPTIONS) && ! defined (_STLP_NO_EXCEPTIONS) |
|
43 # define _STLP_NO_EXCEPTIONS |
|
44 #endif |
|
45 |
|
46 // #define _STLP_NOTHROW throw() |
|
47 |
|
48 #define __EDG_SWITCHES |
|
49 |
|
50 #define _STLP_USE_SGI_STRING 1 |
|
51 |
|
52 #define _STLP_HAS_NO_NEW_C_HEADERS 1 |
|
53 // # define _STLP_VENDOR_GLOBAL_EXCEPT_STD |
|
54 |
|
55 #define _STLP_NO_POST_COMPATIBLE_SECTION |
|
56 |
|
57 #include <standards.h> |
|
58 |
|
59 #if !(_COMPILER_VERSION >= 730) |
|
60 # define _STLP_NO_NEW_NEW_HEADER 1 |
|
61 #endif |
|
62 |
|
63 #if (_COMPILER_VERSION >= 730 && defined(_STANDARD_C_PLUS_PLUS)) |
|
64 # define _STLP_EXTERN_RANGE_ERRORS |
|
65 #endif |
|
66 |
|
67 #if !defined(_BOOL) |
|
68 # define _STLP_NO_BOOL |
|
69 #endif |
|
70 #if defined(_MIPS_SIM) && _MIPS_SIM == _ABIO32 |
|
71 # define _STLP_STATIC_CONST_INIT_BUG |
|
72 #endif |
|
73 |
|
74 #if (_COMPILER_VERSION < 720) || (defined(_MIPS_SIM) && _MIPS_SIM == _ABIO32) |
|
75 # define _STLP_DEF_CONST_PLCT_NEW_BUG |
|
76 # define _STLP_DEF_CONST_DEF_PARAM_BUG |
|
77 #endif |
|
78 #if !((_COMPILER_VERSION >= 730) && defined(_MIPS_SIM) && _MIPS_SIM != _ABIO32) |
|
79 # define _STLP_NO_MEMBER_TEMPLATE_KEYWORD |
|
80 #endif |
|
81 #if !defined(_STANDARD_C_PLUS_PLUS) |
|
82 # define _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS |
|
83 #endif |
|
84 #if !((_COMPILER_VERSION >= 721) && defined(_NAMESPACES)) |
|
85 # define _STLP_HAS_NO_NAMESPACES |
|
86 #endif |
|
87 #if (_COMPILER_VERSION < 721) || !defined(_STL_HAS_NAMESPACES) || defined(_STLP_NO_NAMESPACES) |
|
88 # define _STLP_NO_EXCEPTION_HEADER |
|
89 #endif |
|
90 #if _COMPILER_VERSION < 730 || !defined(_STANDARD_C_PLUS_PLUS) || !defined(_NAMESPACES) |
|
91 # define _STLP_NO_BAD_ALLOC |
|
92 #endif |
|
93 #if defined(_LONGLONG) && defined(_SGIAPI) && _SGIAPI |
|
94 # define _STLP_LONG_LONG long long |
|
95 #endif |
|
96 #if !(_COMPILER_VERSION >= 730 && defined(_STANDARD_C_PLUS_PLUS)) |
|
97 # define _STLP_USE_NO_IOSTREAMS |
|
98 #endif |
|
99 #if !(_COMPILER_VERSION >= 730 && defined(_STANDARD_C_PLUS_PLUS)) |
|
100 # define _STLP_NO_AT_MEMBER_FUNCTION |
|
101 #endif |
|
102 // # if !(_COMPILER_VERSION >= 730 && defined(_STANDARD_C_PLUS_PLUS)) |
|
103 #if !(_COMPILER_VERSION >= 721 && defined(_STANDARD_C_PLUS_PLUS)) |
|
104 # define _STLP_NO_TEMPLATE_CONVERSIONS |
|
105 #endif |
|
106 #if !((_COMPILER_VERSION >= 730) && defined(_MIPS_SIM) && _MIPS_SIM != _ABIO32) |
|
107 # define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER |
|
108 #endif |