|
1 # define _STLP_HAS_SPECIFIC_PROLOG_EPILOG |
|
2 |
|
3 # define _STLP_NATIVE_HEADER(header) <../cxx/##header> |
|
4 # define _STLP_NATIVE_C_HEADER(x) <../include/##x> |
|
5 |
|
6 #if (__DECCXX_VER < 60300000) |
|
7 # define _STLP_NATIVE_CPP_C_HEADER(header) <../cxx/##header> |
|
8 #else |
|
9 # define _STLP_NATIVE_CPP_C_HEADER(header) </usr/include/cxx_cname/##header> |
|
10 #endif |
|
11 |
|
12 # define _STLP_NATIVE_OLD_STREAMS_HEADER(header) <../cxx/##header> |
|
13 # define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <../cxx/##header> |
|
14 |
|
15 // Alpha is little-endian |
|
16 # define _STLP_LITTLE_ENDIAN |
|
17 |
|
18 // collisions |
|
19 # define _STLP_DONT_PUT_STLPORT_IN_STD |
|
20 |
|
21 #if (__DECCXX_VER < 60000000) |
|
22 |
|
23 // automatic template instantiation does not |
|
24 // work with namespaces ;( |
|
25 # define _STLP_HAS_NO_NAMESPACES 1 |
|
26 |
|
27 # define _STLP_NO_NEW_NEW_HEADER 1 |
|
28 |
|
29 # define _STLP_NO_WCHAR_T 1 |
|
30 # define _STLP_NEED_EXPLICIT 1 |
|
31 |
|
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 |
|
37 |
|
38 |
|
39 # define _STLP_NO_PARTIAL_SPECIALIZATION_SYNTAX 1 |
|
40 |
|
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 |
|
52 |
|
53 #endif |
|
54 |
|
55 |
|
56 #ifdef __NO_USE_STD_IOSTREAM |
|
57 # define _STLP_HAS_NO_NEW_IOSTREAMS 1 |
|
58 # else |
|
59 // default is to use new iostreams, anyway |
|
60 # ifndef __USE_STD_IOSTREAM |
|
61 # define __USE_STD_IOSTREAM |
|
62 # endif |
|
63 #endif |
|
64 |
|
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 |
|
69 // # endif |
|
70 |
|
71 //# ifndef __STD_STRICT_ANSI_ERRORS |
|
72 //# endif |
|
73 |
|
74 #ifndef __EXCEPTIONS |
|
75 # define _STLP_HAS_NO_EXCEPTIONS 1 |
|
76 #endif |
|
77 |
|
78 # ifdef __IMPLICIT_INCLUDE_ENABLED |
|
79 |
|
80 // but, works with ours ;). |
|
81 # define _STLP_LINK_TIME_INSTANTIATION 1 |
|
82 # else |
|
83 # undef _STLP_LINK_TIME_INSTANTIATION |
|
84 # endif |
|
85 |
|
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" |
|
89 # endif |
|
90 |
|
91 # if (defined (__STD_STRICT_ANSI) || defined (__STD_STRICT_ANSI_ERRORS)) |
|
92 # define _STLP_STRICT_ANSI 1 |
|
93 # else |
|
94 // we want to enforce it |
|
95 # define _STLP_LONG_LONG long long |
|
96 # endif |
|
97 |
|
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 |
|
102 #endif |
|
103 // # define _STLP_RAND48 1 |
|
104 |
|
105 # define _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS 1 |
|
106 |
|
107 # if (__DECCXX_VER <= 60400000) |
|
108 # define _STLP_HAS_NO_NEW_C_HEADERS 1 |
|
109 # endif |
|
110 |