Update contrib.
1 # define _STLP_HAS_SPECIFIC_PROLOG_EPILOG
3 # define _STLP_NATIVE_HEADER(header) <../cxx/##header>
4 # define _STLP_NATIVE_C_HEADER(x) <../include/##x>
6 #if (__DECCXX_VER < 60300000)
7 # define _STLP_NATIVE_CPP_C_HEADER(header) <../cxx/##header>
9 # define _STLP_NATIVE_CPP_C_HEADER(header) </usr/include/cxx_cname/##header>
12 # define _STLP_NATIVE_OLD_STREAMS_HEADER(header) <../cxx/##header>
13 # define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <../cxx/##header>
15 // Alpha is little-endian
16 # define _STLP_LITTLE_ENDIAN
19 # define _STLP_DONT_PUT_STLPORT_IN_STD
21 #if (__DECCXX_VER < 60000000)
23 // automatic template instantiation does not
24 // work with namespaces ;(
25 # define _STLP_HAS_NO_NAMESPACES 1
27 # define _STLP_NO_NEW_NEW_HEADER 1
29 # define _STLP_NO_WCHAR_T 1
30 # define _STLP_NEED_EXPLICIT 1
32 # define _STLP_NO_BOOL 1
33 # define _STLP_NEED_TYPENAME 1
34 # define _STLP_NO_NEW_STYLE_CASTS 1
35 # define _STLP_NEED_MUTABLE 1
36 # define _STLP_NO_BAD_ALLOC 1
39 # define _STLP_NO_PARTIAL_SPECIALIZATION_SYNTAX 1
41 # define _STLP_NO_MEMBER_TEMPLATES 1
42 # define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1
43 # define _STLP_NO_MEMBER_TEMPLATE_KEYWORD 1
44 # define _STLP_NO_FRIEND_TEMPLATES 1
45 # define _STLP_NO_QUALIFIED_FRIENDS 1
46 # define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1
47 # define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER 1
48 # define _STLP_NON_TYPE_TMPL_PARAM_BUG 1
49 # define _STLP_BROKEN_USING_DIRECTIVE 1
50 # define _STLP_NO_EXCEPTION_HEADER 1
51 # define _STLP_DEFAULT_CONSTRUCTOR_BUG 1
56 #ifdef __NO_USE_STD_IOSTREAM
57 # define _STLP_HAS_NO_NEW_IOSTREAMS 1
59 // default is to use new iostreams, anyway
60 # ifndef __USE_STD_IOSTREAM
61 # define __USE_STD_IOSTREAM
65 // # if !defined (_STLP_NEW_IOSTREAMS) && ! defined (_STLP_DONT_REDEFINE_STD) \
66 // && ! defined (_STLP_REDEFINE_STD)
67 // # undef __PRAGMA_ENVIRONMENT
68 // # define _STLP_DONT_REDEFINE_STD
71 //# ifndef __STD_STRICT_ANSI_ERRORS
75 # define _STLP_HAS_NO_EXCEPTIONS 1
78 # ifdef __IMPLICIT_INCLUDE_ENABLED
80 // but, works with ours ;).
81 # define _STLP_LINK_TIME_INSTANTIATION 1
83 # undef _STLP_LINK_TIME_INSTANTIATION
86 # if defined (__IMPLICIT_USING_STD) && !defined (__NO_USE_STD_IOSTREAM)
87 // we should ban that !
88 // # 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"
91 # if (defined (__STD_STRICT_ANSI) || defined (__STD_STRICT_ANSI_ERRORS))
92 # define _STLP_STRICT_ANSI 1
94 // we want to enforce it
95 # define _STLP_LONG_LONG long long
98 // unsigned 32-bit integer type
99 # define _STLP_UINT32_T unsigned int
100 #if defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 >= 4)
101 # define _STLP_RAND48 1
103 // # define _STLP_RAND48 1
105 # define _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS 1
107 # if (__DECCXX_VER <= 60400000)
108 # define _STLP_HAS_NO_NEW_C_HEADERS 1