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