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