sl@0
|
1 |
// STLport configuration file
|
sl@0
|
2 |
// It is internal STLport header - DO NOT include it directly
|
sl@0
|
3 |
|
sl@0
|
4 |
# define _STLP_LONG_LONG long long
|
sl@0
|
5 |
# define _STLP_LINK_TIME_INSTANTIATION 1
|
sl@0
|
6 |
|
sl@0
|
7 |
# if ! defined(_BOOL)
|
sl@0
|
8 |
# define _STLP_NO_BOOL 1
|
sl@0
|
9 |
# endif
|
sl@0
|
10 |
|
sl@0
|
11 |
# if (__SUNPRO_CC >= 0x500 ) && (!defined (__SUNPRO_CC_COMPAT) || (__SUNPRO_CC_COMPAT == 5 )) \
|
sl@0
|
12 |
&& defined (_STLP_NO_OWN_IOSTREAMS) && ! defined (_STLP_HAS_NO_NEW_IOSTREAMS)
|
sl@0
|
13 |
# error "The wrapper (_STLP_NO_OWN_IOSTREAMS) mode does not work well without _STLP_HAS_NO_NEW_IOSTREAMS. Please set this flag. You will also have to use -liostream option on link phase."
|
sl@0
|
14 |
// # define _STLP_HAS_NO_NEW_IOSTREAMS
|
sl@0
|
15 |
# endif
|
sl@0
|
16 |
|
sl@0
|
17 |
// compatibility mode stuff
|
sl@0
|
18 |
# if (__SUNPRO_CC >= 0x510) && (!defined (__SUNPRO_CC_COMPAT) || (__SUNPRO_CC_COMPAT == 5 ))
|
sl@0
|
19 |
# define _STLP_NATIVE_INCLUDE_PATH ../CC/Cstd
|
sl@0
|
20 |
# define _STLP_NATIVE_CPP_RUNTIME_INCLUDE_PATH ../CC
|
sl@0
|
21 |
# elif (__SUNPRO_CC >= 0x500) && (!defined (__SUNPRO_CC_COMPAT) || (__SUNPRO_CC_COMPAT == 5 ))
|
sl@0
|
22 |
# define _STLP_NATIVE_INCLUDE_PATH ../CC
|
sl@0
|
23 |
# elif (defined (__SUNPRO_CC_COMPAT) && __SUNPRO_CC_COMPAT == 4)
|
sl@0
|
24 |
# define _STLP_NATIVE_INCLUDE_PATH ../CC4
|
sl@0
|
25 |
# else
|
sl@0
|
26 |
# define _STLP_NATIVE_INCLUDE_PATH ../CC
|
sl@0
|
27 |
# endif
|
sl@0
|
28 |
|
sl@0
|
29 |
# if (__SUNPRO_CC >= 0x500 ) && ( defined (_STLP_NO_NEW_IOSTREAMS) || defined (_STLP_HAS_NO_NEW_IOSTREAMS) )
|
sl@0
|
30 |
// if the project is set up to use libiostream (_STLP_NO_NEW_IOSTREAMS should be defined then),
|
sl@0
|
31 |
// use classic iostreams
|
sl@0
|
32 |
# define _STLP_NATIVE_OLD_STREAMS_INCLUDE_PATH ../CCios
|
sl@0
|
33 |
# endif
|
sl@0
|
34 |
|
sl@0
|
35 |
# define _STLP_STATIC_CONST_INIT_BUG 1
|
sl@0
|
36 |
|
sl@0
|
37 |
# if (__SUNPRO_CC < 0x530)
|
sl@0
|
38 |
// those are tested and proved not to work...
|
sl@0
|
39 |
# define _STLP_STATIC_ARRAY_BUG 1
|
sl@0
|
40 |
# define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1
|
sl@0
|
41 |
# define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1
|
sl@0
|
42 |
# define _STLP_USE_OLD_HP_ITERATOR_QUERIES
|
sl@0
|
43 |
# endif
|
sl@0
|
44 |
|
sl@0
|
45 |
|
sl@0
|
46 |
# if defined (_STLP_OWN_IOSTREAMS)
|
sl@0
|
47 |
//# if ! defined (_STLP_NO_OWN_NAMESPACE)
|
sl@0
|
48 |
//# define _STLP_NO_OWN_NAMESPACE
|
sl@0
|
49 |
//# endif
|
sl@0
|
50 |
# else
|
sl@0
|
51 |
# define _STLP_HAS_NO_NEW_C_HEADERS 1
|
sl@0
|
52 |
# endif
|
sl@0
|
53 |
|
sl@0
|
54 |
// those do not depend on compatibility
|
sl@0
|
55 |
# if (__SUNPRO_CC < 0x510)
|
sl@0
|
56 |
# define _STLP_NO_TYPENAME_ON_RETURN_TYPE 1
|
sl@0
|
57 |
# define _STLP_NONTEMPL_BASE_MATCH_BUG 1
|
sl@0
|
58 |
# endif
|
sl@0
|
59 |
|
sl@0
|
60 |
# if (__SUNPRO_CC < 0x510) || (defined (__SUNPRO_CC_COMPAT) && (__SUNPRO_CC_COMPAT < 5))
|
sl@0
|
61 |
|
sl@0
|
62 |
# define _STLP_NO_QUALIFIED_FRIENDS 1
|
sl@0
|
63 |
|
sl@0
|
64 |
// no partial , just for explicit one
|
sl@0
|
65 |
# define _STLP_PARTIAL_SPEC_NEEDS_TEMPLATE_ARGS
|
sl@0
|
66 |
# define _STLP_NON_TYPE_TMPL_PARAM_BUG 1
|
sl@0
|
67 |
|
sl@0
|
68 |
# define _STLP_NO_MEMBER_TEMPLATES 1
|
sl@0
|
69 |
# define _STLP_NO_FRIEND_TEMPLATES 1
|
sl@0
|
70 |
|
sl@0
|
71 |
# define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER 1
|
sl@0
|
72 |
# define _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS
|
sl@0
|
73 |
# define _STLP_NO_MEMBER_TEMPLATE_KEYWORD 1
|
sl@0
|
74 |
# endif
|
sl@0
|
75 |
|
sl@0
|
76 |
// Features that depend on compatibility switch
|
sl@0
|
77 |
# if ( __SUNPRO_CC < 0x500 ) || (defined (__SUNPRO_CC_COMPAT) && (__SUNPRO_CC_COMPAT < 5))
|
sl@0
|
78 |
|
sl@0
|
79 |
# ifndef _STLP_HAS_NO_NEW_IOSTREAMS
|
sl@0
|
80 |
# define _STLP_HAS_NO_NEW_IOSTREAMS 1
|
sl@0
|
81 |
# endif
|
sl@0
|
82 |
# define _STLP_NO_NEW_NEW_HEADER 1
|
sl@0
|
83 |
// # define _STLP_NO_RELOPS_NAMESPACE
|
sl@0
|
84 |
# define _STLP_HAS_NO_NAMESPACES 1
|
sl@0
|
85 |
# define _STLP_NEED_MUTABLE 1
|
sl@0
|
86 |
# define _STLP_NO_BAD_ALLOC 1
|
sl@0
|
87 |
# define _STLP_NO_EXCEPTION_HEADER 1
|
sl@0
|
88 |
# define _STLP_NATIVE_C_INCLUDE_PATH ../include
|
sl@0
|
89 |
# elif (__SUNPRO_CC < 0x510)
|
sl@0
|
90 |
// # define _STLP_NATIVE_C_HEADER(header) <../CC/##header##.SUNWCCh>
|
sl@0
|
91 |
# define _STLP_NATIVE_CPP_C_HEADER(header) <../CC/##header##.SUNWCCh>
|
sl@0
|
92 |
# define _STLP_NATIVE_C_INCLUDE_PATH /usr/include
|
sl@0
|
93 |
# elif defined( __SunOS_5_5_1 ) || defined( __SunOS_5_6 ) || defined( __SunOS_5_7 )
|
sl@0
|
94 |
# define _STLP_NATIVE_C_INCLUDE_PATH ../CC/std
|
sl@0
|
95 |
# define _STLP_NATIVE_CPP_C_INCLUDE_PATH ../CC/std
|
sl@0
|
96 |
# else
|
sl@0
|
97 |
# define _STLP_NATIVE_C_INCLUDE_PATH /usr/include
|
sl@0
|
98 |
# define _STLP_NATIVE_CPP_C_INCLUDE_PATH ../CC/std
|
sl@0
|
99 |
# endif
|
sl@0
|
100 |
|
sl@0
|
101 |
|
sl@0
|
102 |
|
sl@0
|
103 |
# if ( __SUNPRO_CC < 0x500 )
|
sl@0
|
104 |
|
sl@0
|
105 |
# undef _STLP_NATIVE_C_HEADER
|
sl@0
|
106 |
# undef _STLP_NATIVE_CPP_C_HEADER
|
sl@0
|
107 |
|
sl@0
|
108 |
# define wint_t __wint_t
|
sl@0
|
109 |
// famous CC 4.2 bug
|
sl@0
|
110 |
# define _STLP_INLINE_STRING_LITERAL_BUG 1
|
sl@0
|
111 |
// /usr/include
|
sl@0
|
112 |
# define _STLP_NATIVE_C_INCLUDE_PATH ../include
|
sl@0
|
113 |
|
sl@0
|
114 |
// 4.2 cannot handle iterator_traits<_Tp>::iterator_category as a return type ;(
|
sl@0
|
115 |
# define _STLP_USE_OLD_HP_ITERATOR_QUERIES
|
sl@0
|
116 |
|
sl@0
|
117 |
// 4.2 does not like it
|
sl@0
|
118 |
# undef _STLP_PARTIAL_SPEC_NEEDS_TEMPLATE_ARGS
|
sl@0
|
119 |
|
sl@0
|
120 |
# define _STLP_LIMITED_DEFAULT_TEMPLATES 1
|
sl@0
|
121 |
|
sl@0
|
122 |
# define _STLP_NEED_TYPENAME 1
|
sl@0
|
123 |
# define _STLP_NEED_EXPLICIT 1
|
sl@0
|
124 |
# define _STLP_UNINITIALIZABLE_PRIVATE 1
|
sl@0
|
125 |
# define _STLP_NO_BAD_ALLOC 1
|
sl@0
|
126 |
# define _STLP_NO_ARROW_OPERATOR 1
|
sl@0
|
127 |
|
sl@0
|
128 |
# define _STLP_DEFAULT_CONSTRUCTOR_BUG 1
|
sl@0
|
129 |
# define _STLP_GLOBAL_NESTED_RETURN_TYPE_PARAM_BUG 1
|
sl@0
|
130 |
# undef _STLP_HAS_NO_NEW_C_HEADERS
|
sl@0
|
131 |
# define _STLP_HAS_NO_NEW_C_HEADERS 1
|
sl@0
|
132 |
// # define _STLP_DONT_SIMULATE_PARTIAL_SPEC_FOR_TYPE_TRAITS
|
sl@0
|
133 |
|
sl@0
|
134 |
# if ( __SUNPRO_CC < 0x420 )
|
sl@0
|
135 |
# define _STLP_NO_PARTIAL_SPECIALIZATION_SYNTAX 1
|
sl@0
|
136 |
# define _STLP_NO_NEW_STYLE_CASTS 1
|
sl@0
|
137 |
# define _STLP_NO_METHOD_SPECIALIZATION 1
|
sl@0
|
138 |
# if ( __SUNPRO_CC > 0x401 )
|
sl@0
|
139 |
# if (__SUNPRO_CC==0x410)
|
sl@0
|
140 |
# define _STLP_BASE_TYPEDEF_OUTSIDE_BUG 1
|
sl@0
|
141 |
# endif
|
sl@0
|
142 |
# else
|
sl@0
|
143 |
// SUNPro C++ 4.0.1
|
sl@0
|
144 |
# define _STLP_BASE_MATCH_BUG 1
|
sl@0
|
145 |
# define _STLP_BASE_TYPEDEF_BUG 1
|
sl@0
|
146 |
# if ( __SUNPRO_CC < 0x401 )
|
sl@0
|
147 |
__GIVE_UP_WITH_STL(SUNPRO_401)
|
sl@0
|
148 |
# endif
|
sl@0
|
149 |
# endif /* 4.0.1 */
|
sl@0
|
150 |
# endif /* 4.2 */
|
sl@0
|
151 |
|
sl@0
|
152 |
# endif /* < 5.0 */
|
sl@0
|
153 |
|
sl@0
|
154 |
# include <config/stl_solaris.h>
|
sl@0
|
155 |
|
sl@0
|
156 |
#ifndef _MBSTATET_H
|
sl@0
|
157 |
# define _MBSTATET_H
|
sl@0
|
158 |
# undef _MBSTATE_T
|
sl@0
|
159 |
# define _MBSTATE_T
|
sl@0
|
160 |
typedef struct __mbstate_t {
|
sl@0
|
161 |
#if defined(_LP64)
|
sl@0
|
162 |
long __filler[4];
|
sl@0
|
163 |
#else
|
sl@0
|
164 |
int __filler[6];
|
sl@0
|
165 |
#endif
|
sl@0
|
166 |
} __mbstate_t;
|
sl@0
|
167 |
# ifndef _STLP_HAS_NO_NAMESPACES
|
sl@0
|
168 |
namespace std {
|
sl@0
|
169 |
typedef __mbstate_t mbstate_t;
|
sl@0
|
170 |
}
|
sl@0
|
171 |
using std::mbstate_t;
|
sl@0
|
172 |
#else
|
sl@0
|
173 |
typedef __mbstate_t mbstate_t;
|
sl@0
|
174 |
# endif
|
sl@0
|
175 |
#endif /* __MBSTATET_H */
|