1 // STLport configuration file
2 // It is internal STLport header - DO NOT include it directly
4 //#define _STLP_VERBOSE
6 #define _STLP_COMPILER "Borland"
8 #if (__BORLANDC__ < 0x551)
9 # error - Borland compilers below version 5.5.1 not supported.
12 #if (__BORLANDC__ >= 0x580) && (__BORLANDC__ < 0x590)
13 # define _STLP_NO_NEW_C_HEADERS
14 # define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <../include/dinkumware/##header>
15 # define _STLP_NO_FORCE_INSTANTIATE
18 #if (__BORLANDC__ >= 0x560) && (__BORLANDC__ < 0x570)
19 # define _USE_OLD_RW_STL
22 #if (__BORLANDC__ >= 0x560)
23 # define NOWINBASEINTERLOCK // src/fstream.cpp error in winbase.h
26 #if (__BORLANDC__ < 0x564)
27 # define _STLP_QUALIFIED_SPECIALIZATION_BUG
30 #if (__BORLANDC__ < 0x560)
31 # define _STLP_NO_CONTAINERS_EXTENSION
34 #define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER
35 #define _STLP_DONT_USE_PRIV_NAMESPACE
36 #define _STLP_NO_VENDOR_STDLIB_L
37 #define _STLP_NO_VENDOR_MATH_F
38 #define _STLP_DONT_USE_SHORT_STRING_OPTIM 1
39 #define _STLP_NO_NATIVE_MBSTATE_T
40 #define _STLP_DLLEXPORT_NEEDS_PREDECLARATION
41 #undef _STLP_NO_UNEXPECTED_EXCEPT_SUPPORT
42 #if (__BORLANDC__ < 0x580) && !defined (_RTLDLL)
43 # define _UNCAUGHT_EXCEPTION 1
47 #define _STLP_STATIC_CONST_INIT_BUG
50 #define _STLP_MEMBER_SPECIALIZATION_BUG 1
51 #define _STLP_HAS_SPECIFIC_PROLOG_EPILOG 1
53 #define _STLP_LONG_LONG __int64
55 // auto enable thread safety and exceptions:
57 # define _STLP_HAS_NO_EXCEPTIONS
60 #if defined (__MT__) && !defined (_NOTHREADS) && !defined (_REENTRANT)
61 # if defined (_STLP_VERBOSE)
62 # pragma message ("multi threaded")
66 # if defined (_STLP_VERBOSE)
67 # pragma message ("single threaded")
71 #define _STLP_EXPORT_DECLSPEC __declspec(dllexport)
72 #define _STLP_IMPORT_DECLSPEC __declspec(dllimport)
74 #define _STLP_CLASS_EXPORT_DECLSPEC __declspec(dllexport)
75 #define _STLP_CLASS_IMPORT_DECLSPEC __declspec(dllimport)
81 # define _STLP_RUNTIME_DLL
83 #include <stl/config/_detect_dll_or_lib.h>
84 #undef _STLP_RUNTIME_DLL
87 #if defined (_STLP_USE_DYNAMIC_LIB)
88 # if defined (_STLP_VERBOSE)
89 # pragma message ("Using/Building STLport dll")
91 #elif defined (_STLP_USE_STATIC_LIB)
92 # if defined (_STLP_VERBOSE)
93 # pragma message ("Using/Building STLport lib")
96 # error Unknown STLport usage config (dll/lib?)
99 #if defined (_STLP_USING_CROSS_NATIVE_RUNTIME_LIB)
100 # if defined (_STLP_VERBOSE)
101 # pragma message ("Using cross version of native runtime")
105 #if !defined (_STLP_IMPORT_TEMPLATE_KEYWORD)
106 //# define _STLP_IMPORT_TEMPLATE_KEYWORD __declspec(dllimport)
108 //#define _STLP_EXPORT_TEMPLATE_KEYWORD __declspec(dllexport)
110 #if defined (_STLP_USE_DYNAMIC_LIB)
111 # define _STLP_USE_DECLSPEC 1
112 # if (__BORLANDC__ < 0x580)
113 # if defined (__BUILDING_STLPORT)
114 # define _STLP_CALL __cdecl __export
116 # define _STLP_CALL __cdecl __import
119 # define _STLP_CALL __cdecl
122 # define _STLP_CALL __cdecl
125 #include <stl/config/_auto_link.h>