author | William Roberts <williamr@symbian.org> |
Wed, 31 Mar 2010 12:33:34 +0100 | |
branch | Symbian3 |
changeset 4 | 837f303aceeb |
parent 2 | 2fe1408b6811 |
permissions | -rw-r--r-- |
williamr@4 | 1 |
#define _STLP_COMPILER "Dec" |
williamr@4 | 2 |
|
williamr@4 | 3 |
# define _STLP_HAS_SPECIFIC_PROLOG_EPILOG |
williamr@4 | 4 |
|
williamr@4 | 5 |
# define _STLP_NATIVE_HEADER(header) <../cxx/##header> |
williamr@4 | 6 |
# define _STLP_NATIVE_C_HEADER(x) <../include/##x> |
williamr@4 | 7 |
|
williamr@4 | 8 |
#if (__DECCXX_VER < 60300000) |
williamr@4 | 9 |
# define _STLP_NATIVE_CPP_C_HEADER(header) <../cxx/##header> |
williamr@4 | 10 |
#else |
williamr@4 | 11 |
# define _STLP_NATIVE_CPP_C_HEADER(header) </usr/include/cxx_cname/##header> |
williamr@4 | 12 |
#endif |
williamr@4 | 13 |
|
williamr@4 | 14 |
# define _STLP_NATIVE_OLD_STREAMS_HEADER(header) <../cxx/##header> |
williamr@4 | 15 |
# define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <../cxx/##header> |
williamr@4 | 16 |
|
williamr@4 | 17 |
// Alpha is little-endian |
williamr@4 | 18 |
# define _STLP_LITTLE_ENDIAN |
williamr@4 | 19 |
|
williamr@4 | 20 |
// collisions |
williamr@4 | 21 |
# define _STLP_DONT_PUT_STLPORT_IN_STD |
williamr@4 | 22 |
|
williamr@4 | 23 |
#if (__DECCXX_VER < 60000000) |
williamr@4 | 24 |
|
williamr@4 | 25 |
// automatic template instantiation does not |
williamr@4 | 26 |
// work with namespaces ;( |
williamr@4 | 27 |
# define _STLP_HAS_NO_NAMESPACES 1 |
williamr@4 | 28 |
|
williamr@4 | 29 |
# define _STLP_NO_NEW_NEW_HEADER 1 |
williamr@4 | 30 |
|
williamr@4 | 31 |
# define _STLP_NO_WCHAR_T 1 |
williamr@4 | 32 |
# define _STLP_NEED_EXPLICIT 1 |
williamr@4 | 33 |
|
williamr@4 | 34 |
# define _STLP_NO_BOOL 1 |
williamr@4 | 35 |
# define _STLP_NEED_TYPENAME 1 |
williamr@4 | 36 |
# define _STLP_NO_NEW_STYLE_CASTS 1 |
williamr@4 | 37 |
# define _STLP_NEED_MUTABLE 1 |
williamr@4 | 38 |
# define _STLP_NO_BAD_ALLOC 1 |
williamr@4 | 39 |
|
williamr@4 | 40 |
|
williamr@4 | 41 |
# define _STLP_NO_PARTIAL_SPECIALIZATION_SYNTAX 1 |
williamr@4 | 42 |
|
williamr@4 | 43 |
# define _STLP_NO_MEMBER_TEMPLATES 1 |
williamr@4 | 44 |
# define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1 |
williamr@4 | 45 |
# define _STLP_NO_MEMBER_TEMPLATE_KEYWORD 1 |
williamr@4 | 46 |
# define _STLP_NO_FRIEND_TEMPLATES 1 |
williamr@4 | 47 |
# define _STLP_NO_QUALIFIED_FRIENDS 1 |
williamr@4 | 48 |
# define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1 |
williamr@4 | 49 |
# define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER 1 |
williamr@4 | 50 |
# define _STLP_NON_TYPE_TMPL_PARAM_BUG 1 |
williamr@4 | 51 |
# define _STLP_BROKEN_USING_DIRECTIVE 1 |
williamr@4 | 52 |
# define _STLP_NO_EXCEPTION_HEADER 1 |
williamr@4 | 53 |
# define _STLP_DEF_CONST_PLCT_NEW_BUG 1 |
williamr@4 | 54 |
# define _STLP_DEF_CONST_DEF_PARAM_BUG 1 |
williamr@4 | 55 |
|
williamr@4 | 56 |
#endif |
williamr@4 | 57 |
|
williamr@4 | 58 |
|
williamr@4 | 59 |
#ifdef __NO_USE_STD_IOSTREAM |
williamr@4 | 60 |
# define _STLP_HAS_NO_NEW_IOSTREAMS 1 |
williamr@4 | 61 |
# else |
williamr@4 | 62 |
// default is to use new iostreams, anyway |
williamr@4 | 63 |
# ifndef __USE_STD_IOSTREAM |
williamr@4 | 64 |
# define __USE_STD_IOSTREAM |
williamr@4 | 65 |
# endif |
williamr@4 | 66 |
#endif |
williamr@4 | 67 |
|
williamr@4 | 68 |
//# ifndef __STD_STRICT_ANSI_ERRORS |
williamr@4 | 69 |
//# endif |
williamr@4 | 70 |
|
williamr@4 | 71 |
#ifndef __EXCEPTIONS |
williamr@4 | 72 |
# define _STLP_HAS_NO_EXCEPTIONS 1 |
williamr@4 | 73 |
#endif |
williamr@4 | 74 |
|
williamr@4 | 75 |
# ifdef __IMPLICIT_INCLUDE_ENABLED |
williamr@4 | 76 |
|
williamr@4 | 77 |
// but, works with ours ;). |
williamr@4 | 78 |
# define _STLP_LINK_TIME_INSTANTIATION 1 |
williamr@4 | 79 |
# else |
williamr@4 | 80 |
# undef _STLP_LINK_TIME_INSTANTIATION |
williamr@4 | 81 |
# endif |
williamr@4 | 82 |
|
williamr@4 | 83 |
# if defined (__IMPLICIT_USING_STD) && !defined (__NO_USE_STD_IOSTREAM) |
williamr@4 | 84 |
// we should ban that ! |
williamr@4 | 85 |
// # error "STLport won't work with new iostreams and std:: being implicitly included. Please use -std strict_ansi[_errors] or specify __NO_USE_STD_IOSTREAM" |
williamr@4 | 86 |
# endif |
williamr@4 | 87 |
|
williamr@4 | 88 |
# if (defined (__STD_STRICT_ANSI) || defined (__STD_STRICT_ANSI_ERRORS)) |
williamr@4 | 89 |
# define _STLP_STRICT_ANSI 1 |
williamr@4 | 90 |
# else |
williamr@4 | 91 |
// we want to enforce it |
williamr@4 | 92 |
# define _STLP_LONG_LONG long long |
williamr@4 | 93 |
# endif |
williamr@4 | 94 |
|
williamr@4 | 95 |
// unsigned 32-bit integer type |
williamr@4 | 96 |
# define _STLP_UINT32_T unsigned int |
williamr@4 | 97 |
#if defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 >= 4) |
williamr@4 | 98 |
# define _STLP_RAND48 1 |
williamr@4 | 99 |
#endif |
williamr@4 | 100 |
// # define _STLP_RAND48 1 |
williamr@4 | 101 |
|
williamr@4 | 102 |
# define _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS 1 |
williamr@4 | 103 |
|
williamr@4 | 104 |
# if (__DECCXX_VER <= 60600000) |
williamr@4 | 105 |
# define _STLP_HAS_NO_NEW_C_HEADERS 1 |
williamr@4 | 106 |
# endif |
williamr@4 | 107 |