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