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 |
// OpenVMS version |
williamr@2 | 2 |
|
williamr@2 | 3 |
#define _STLP_COMPILER "Dec Vms" |
williamr@2 | 4 |
|
williamr@2 | 5 |
# define _STLP_NATIVE_HEADER(header) <sys$library:##header> |
williamr@2 | 6 |
# define _STLP_NATIVE_C_HEADER(x) <sys$library:##x> |
williamr@2 | 7 |
# define _STLP_NATIVE_CPP_C_HEADER(header) <sys$library:##header> |
williamr@2 | 8 |
# define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <sys$library:##header> |
williamr@2 | 9 |
|
williamr@2 | 10 |
#if (__DECCXX_VER < 60000000) |
williamr@2 | 11 |
|
williamr@2 | 12 |
// automatic template instantiation does not |
williamr@2 | 13 |
// work with namespaces ;( |
williamr@2 | 14 |
# define _STLP_HAS_NO_NAMESPACES 1 |
williamr@2 | 15 |
|
williamr@2 | 16 |
# define _STLP_NO_WCHAR_T 1 |
williamr@2 | 17 |
# define _STLP_NEED_EXPLICIT 1 |
williamr@2 | 18 |
|
williamr@2 | 19 |
# define _STLP_NO_BOOL 1 |
williamr@2 | 20 |
# define _STLP_NEED_TYPENAME 1 |
williamr@2 | 21 |
# define _STLP_NO_NEW_STYLE_CASTS 1 |
williamr@2 | 22 |
# define _STLP_NEED_MUTABLE 1 |
williamr@2 | 23 |
# define _STLP_NO_BAD_ALLOC 1 |
williamr@2 | 24 |
|
williamr@2 | 25 |
# define _STLP_NO_NEW_NEW_HEADER 1 |
williamr@2 | 26 |
# define _STLP_NO_PARTIAL_SPECIALIZATION_SYNTAX 1 |
williamr@2 | 27 |
|
williamr@2 | 28 |
# define _STLP_NO_MEMBER_TEMPLATES 1 |
williamr@2 | 29 |
# define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1 |
williamr@2 | 30 |
# define _STLP_NO_MEMBER_TEMPLATE_KEYWORD 1 |
williamr@2 | 31 |
# define _STLP_NO_FRIEND_TEMPLATES 1 |
williamr@2 | 32 |
# define _STLP_NO_QUALIFIED_FRIENDS 1 |
williamr@2 | 33 |
# define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1 |
williamr@2 | 34 |
# define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER 1 |
williamr@2 | 35 |
# define _STLP_NON_TYPE_TMPL_PARAM_BUG 1 |
williamr@2 | 36 |
# define _STLP_BROKEN_USING_DIRECTIVE 1 |
williamr@2 | 37 |
# define _STLP_NO_EXCEPTION_HEADER 1 |
williamr@2 | 38 |
# define _STLP_DEF_CONST_PLCT_NEW_BUG 1 |
williamr@2 | 39 |
# define _STLP_DEF_CONST_DEF_PARAM_BUG 1 |
williamr@2 | 40 |
|
williamr@2 | 41 |
#endif |
williamr@2 | 42 |
|
williamr@2 | 43 |
|
williamr@2 | 44 |
#ifdef __NO_USE_STD_IOSTREAM |
williamr@2 | 45 |
# define _STLP_USE_NO_IOSTREAMS 1 |
williamr@2 | 46 |
# else |
williamr@2 | 47 |
// default is to use new iostreams, anyway |
williamr@2 | 48 |
# ifndef __USE_STD_IOSTREAM |
williamr@2 | 49 |
# define __USE_STD_IOSTREAM |
williamr@2 | 50 |
# endif |
williamr@2 | 51 |
#endif |
williamr@2 | 52 |
|
williamr@2 | 53 |
#ifndef __EXCEPTIONS |
williamr@2 | 54 |
# define _STLP_HAS_NO_EXCEPTIONS 1 |
williamr@2 | 55 |
#endif |
williamr@2 | 56 |
|
williamr@2 | 57 |
# ifdef __IMPLICIT_INCLUDE_ENABLED |
williamr@2 | 58 |
|
williamr@2 | 59 |
#ifdef _STLP_USE_NO_IOSTREAMS |
williamr@2 | 60 |
// implicit include introduces conflicts |
williamr@2 | 61 |
// between stlport and native lib. |
williamr@2 | 62 |
# undef __IMPLICIT_INCLUDE_ENABLED |
williamr@2 | 63 |
#endif |
williamr@2 | 64 |
|
williamr@2 | 65 |
// but, works with ours ;). |
williamr@2 | 66 |
# define _STLP_LINK_TIME_INSTANTIATION 1 |
williamr@2 | 67 |
|
williamr@2 | 68 |
# endif |
williamr@2 | 69 |
|
williamr@2 | 70 |
# if defined (__IMPLICIT_USING_STD) && !defined (__NO_USE_STD_IOSTREAM) |
williamr@2 | 71 |
// we should ban that ! |
williamr@2 | 72 |
# 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 | 73 |
# endif |
williamr@2 | 74 |
|
williamr@2 | 75 |
# if !(defined (__STD_STRICT_ANSI) || defined (__STD_STRICT_ANSI_ERRORS)) |
williamr@2 | 76 |
// we want to enforce it |
williamr@2 | 77 |
# define _STLP_LONG_LONG long long |
williamr@2 | 78 |
# endif |
williamr@2 | 79 |
|
williamr@2 | 80 |
// unsigned 32-bit integer type |
williamr@2 | 81 |
# define _STLP_UINT32_T unsigned int |
williamr@2 | 82 |
#if defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 >= 4) |
williamr@2 | 83 |
# define _STLP_RAND48 1 |
williamr@2 | 84 |
#endif |
williamr@2 | 85 |
// # define _STLP_RAND48 1 |
williamr@2 | 86 |
|
williamr@2 | 87 |
# define _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS 1 |
williamr@2 | 88 |
|
williamr@2 | 89 |
#define _STLP_HAS_NO_NEW_C_HEADERS 1 |
williamr@2 | 90 |