]> git.buserror.net Git - polintos/scott/priv.git/blob - include/c++/stl/stl/config/_mwccnlm.h
Add STLport 5.1.4
[polintos/scott/priv.git] / include / c++ / stl / stl / config / _mwccnlm.h
1 // STLport configuration file
2 // It is internal STLport header - DO NOT include it directly
3
4 #define _STLP_COMPILER "Metrowerks CodeWarrior"
5
6 // Bring in definition of __MSL__ and related items
7 #include <mslGlobals.h>
8 #include <ansi_parms.h>
9
10 // *** CodeWarrior Compiler Common Features ***
11 #if __option(longlong)
12 #  define _STLP_LONG_LONG  long long
13 #endif
14
15 #define _STLP_USE_UNIX_EMULATION_IO  1
16
17 #define _STLP_USE_AUTO_PTR_CONVERSIONS  1
18
19 #ifdef __INTEL__
20 #  define _STLP_LITTLE_ENDIAN
21 #else
22 #  define _STLP_BIG_ENDIAN
23 #endif
24
25 #if defined(_MSL_NO_LOCALE)
26 #  define _STLP_NO_IMPORT_LOCALE
27 #endif
28
29 #if !__option( wchar_type )
30 #  define _STLP_WCHAR_T_IS_USHORT
31 #endif
32
33 #if __MWERKS__ < 0x3000
34 // *** CodeWarrior Compiler Common Bugs ***
35 #  define __MSL_FIX_ITERATORS__(myType)    // Some MSL headers rely on this
36 #  define _STLP_NO_FRIEND_TEMPLATES 1  // Bug mysteriously reintroduced in this version.
37 #  define _STLP_THROW_RETURN_BUG  1
38 #endif
39
40 #if __MWERKS__ >= 0x2405
41 #  define _STLP_HAS_NATIVE_FLOAT_ABS
42 #endif
43
44 #if __MWERKS__ < 0x2405
45 #  define _STLP_STATIC_CONST_INIT_BUG
46 #endif
47
48 #if __MWERKS__ <= 0x2303
49 #  define _STLP_NO_TEMPLATE_CONVERSIONS  1
50 #  define _STLP_NO_MEMBER_TEMPLATE_KEYWORD  1
51 #endif
52
53 #if __MWERKS__ < 0x2301
54 #  define _STLP_MEMBER_SPECIALIZATION_BUG  1
55 #endif
56
57 #if __MWERKS__ < 0x2300    // CW Pro5 features
58 #  define _STLP_INLINE_MEMBER_TEMPLATES 1
59 #  define _STLP_RELOPS_IN_STD_BUG   1
60 #  define _STLP_DEF_CONST_PLCT_NEW_BUG 1
61 #  define _STLP_DEF_CONST_DEF_PARAM_BUG 1
62 #  define _STLP_NO_TYPENAME_ON_RETURN_TYPE
63 #endif
64
65 // fixes to native inclusion wrappers.
66 #if __MWERKS__ >= 0x2300  // CWPro5 changes paths - dwa 2/28/99
67 #  define _STLP_NATIVE_INCLUDE_PATH  ../nwsdk/include/nlm
68 #  define _STLP_NATIVE_C_INCLUDE_PATH  ../nwsdk/include/nlm
69 #  define _STLP_NATIVE_HEADER(header)     <../nwsdk/include/nlm/##header>
70 #  define _STLP_NATIVE_CPP_C_HEADER(header)     <../Libraries/MSL C++/Include/##header>
71 #  define _STLP_NATIVE_C_HEADER(header)     <../nwsdk/include/nlm/##header>
72 #  define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <../Libraries/MSL C++/Include/##header>
73
74 #  define _STLP_VENDOR_GLOBAL_CSTD  1
75 #  define _STLP_NO_VENDOR_STDLIB_L  1
76 #  define _STLP_NO_VENDOR_MATH_F    1
77 #  define _STLP_NO_VENDOR_MATH_L    1
78      //#   define _MSL_NO_THROW_SPECS
79      //#   define _STD
80      //#   define _CSTD
81 #endif
82
83 // fbp
84 #if !defined( __MSL_CPP__ ) || __MSL_CPP__ <= 0x4105
85 #  define _STLP_NO_NATIVE_WIDE_STREAMS 1
86 # endif
87
88 #define _STLP_DLLEXPORT_NEEDS_PREDECLARATION 1