blob: b56de07cd9e3e3638a626d1114b06472cd019295 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
|
// STLport configuration file
// It is internal STLport header - DO NOT include it directly
//#define _STLP_VERBOSE
#define _STLP_COMPILER "Borland"
#if (__BORLANDC__ < 0x551)
# error - Borland compilers below version 5.5.1 not supported.
#endif
#if (__BORLANDC__ >= 0x580) && (__BORLANDC__ < 0x590)
# define _STLP_NO_NEW_C_HEADERS
# define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <../include/dinkumware/##header>
# define _STLP_NO_FORCE_INSTANTIATE
#endif
#if (__BORLANDC__ >= 0x560) && (__BORLANDC__ < 0x570)
# define _USE_OLD_RW_STL
#endif
#if (__BORLANDC__ >= 0x560)
# define NOWINBASEINTERLOCK // src/fstream.cpp error in winbase.h
#endif
#if (__BORLANDC__ < 0x564)
# define _STLP_QUALIFIED_SPECIALIZATION_BUG
#endif
#if (__BORLANDC__ < 0x560)
# define _STLP_NO_CONTAINERS_EXTENSION
#endif
#define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER
#define _STLP_DONT_USE_PRIV_NAMESPACE
#define _STLP_NO_VENDOR_STDLIB_L
#define _STLP_NO_VENDOR_MATH_F
#define _STLP_DONT_USE_SHORT_STRING_OPTIM 1
#define _STLP_NO_NATIVE_MBSTATE_T
#define _STLP_DLLEXPORT_NEEDS_PREDECLARATION
#undef _STLP_NO_UNEXPECTED_EXCEPT_SUPPORT
#if (__BORLANDC__ < 0x580) && !defined (_RTLDLL)
# define _UNCAUGHT_EXCEPTION 1
#endif
// <limits> problem
#define _STLP_STATIC_CONST_INIT_BUG
// <bitset> problems
#define _STLP_MEMBER_SPECIALIZATION_BUG 1
#define _STLP_HAS_SPECIFIC_PROLOG_EPILOG 1
#define _STLP_LONG_LONG __int64
// auto enable thread safety and exceptions:
#ifndef _CPPUNWIND
# define _STLP_HAS_NO_EXCEPTIONS
#endif
#if defined (__MT__) && !defined (_NOTHREADS) && !defined (_REENTRANT)
# if defined (_STLP_VERBOSE)
# pragma message ("multi threaded")
# endif
# define _REENTRANT 1
#else
# if defined (_STLP_VERBOSE)
# pragma message ("single threaded")
# endif
#endif
#define _STLP_EXPORT_DECLSPEC __declspec(dllexport)
#define _STLP_IMPORT_DECLSPEC __declspec(dllimport)
#define _STLP_CLASS_EXPORT_DECLSPEC __declspec(dllexport)
#define _STLP_CLASS_IMPORT_DECLSPEC __declspec(dllimport)
#if defined (_DLL)
# define _STLP_DLL
#endif
#if defined (_RTLDLL)
# define _STLP_RUNTIME_DLL
#endif
#include <stl/config/_detect_dll_or_lib.h>
#undef _STLP_RUNTIME_DLL
#undef _STLP_DLL
#if defined (_STLP_USE_DYNAMIC_LIB)
# if defined (_STLP_VERBOSE)
# pragma message ("Using/Building STLport dll")
# endif
#elif defined (_STLP_USE_STATIC_LIB)
# if defined (_STLP_VERBOSE)
# pragma message ("Using/Building STLport lib")
# endif
#else
# error Unknown STLport usage config (dll/lib?)
#endif
#if defined (_STLP_USING_CROSS_NATIVE_RUNTIME_LIB)
# if defined (_STLP_VERBOSE)
# pragma message ("Using cross version of native runtime")
# endif
#endif
#if !defined (_STLP_IMPORT_TEMPLATE_KEYWORD)
//# define _STLP_IMPORT_TEMPLATE_KEYWORD __declspec(dllimport)
#endif
//#define _STLP_EXPORT_TEMPLATE_KEYWORD __declspec(dllexport)
#if defined (_STLP_USE_DYNAMIC_LIB)
# define _STLP_USE_DECLSPEC 1
# if (__BORLANDC__ < 0x580)
# if defined (__BUILDING_STLPORT)
# define _STLP_CALL __cdecl __export
# else
# define _STLP_CALL __cdecl __import
# endif
#else
# define _STLP_CALL __cdecl
#endif
#else
# define _STLP_CALL __cdecl
#endif
#include <stl/config/_auto_link.h>
|