1 /* STLport configuration file
2 * It is internal STLport header - DO NOT include it directly */
4 #define _STLP_COMPILER "Borland"
6 #if (__BORLANDC__ < 0x551)
7 # error - Borland compilers below version 5.5.1 not supported.
10 #pragma defineonoption _STLP_NO_RTTI -RT-
12 #define _STLP_DONT_SUP_DFLT_PARAM
14 #if (__BORLANDC__ >= 0x580)
15 # define _STLP_HAS_INCLUDE_NEXT
16 # define _STLP_NATIVE_HEADER(header) <../include/##header>
17 # define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <../include/dinkumware/##header>
18 # define _STLP_NO_NEW_C_HEADERS
19 # define _STLP_NO_FORCE_INSTANTIATE
22 #if (__BORLANDC__ >= 0x570) && (__BORLANDC__ < 0x580)
23 # define _STLP_NO_NEW_C_HEADERS
24 # define _STLP_NO_FORCE_INSTANTIATE
25 # define _STLP_DEF_CONST_DEF_PARAM_BUG
26 # define _STLP_USE_DEFAULT_FILE_OFFSET
28 # if defined (__cplusplus)
29 # define _STLP_NATIVE_CPP_C_INCLUDE_PATH ../include/c++/ ## GCC_VERSION
30 # define _STLP_NATIVE_CPP_RUNTIME_INCLUDE_PATH ../include/c++/ ## GCC_VERSION
34 # include </usr/include/sys/cdefs.h>
38 # if !defined (_RTLDLL)
39 # define _STLP_DONT_USE_PTHREAD_SPINLOCK
45 # pragma defineonoption _CPPUNWIND -xd
46 # define _STLP_NO_EXCEPTION_HEADER
47 # define _STLP_DONT_USE_EXCEPTIONS
50 #if (__BORLANDC__ >= 0x560) && (__BORLANDC__ < 0x570)
51 # define _USE_OLD_RW_STL
54 #if (__BORLANDC__ >= 0x560)
55 # if !defined (__BUILDING_STLPORT)
56 # define NOWINBASEINTERLOCK
58 # define _STLP_LANG_INVARIANT_DEFINED
61 #if (__BORLANDC__ < 0x590)
62 # define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER
63 # define _STLP_DLLEXPORT_NEEDS_PREDECLARATION
65 # define _STLP_MEMBER_SPECIALIZATION_BUG 1
67 # define _STLP_TR1 _STLP_STD_NAME::tr1::
71 #if (__BORLANDC__ < 0x564)
72 # define _STLP_QUALIFIED_SPECIALIZATION_BUG
73 # define _STLP_NO_MOVE_SEMANTIC
76 #define _STLP_DONT_USE_PRIV_NAMESPACE
77 #define _STLP_NO_TYPENAME_BEFORE_NAMESPACE
78 #define _STLP_NO_VENDOR_STDLIB_L
79 #define _STLP_NO_VENDOR_MATH_F
80 #define _STLP_DONT_USE_SHORT_STRING_OPTIM 1
82 #if (__BORLANDC__ < 0x570) || (__BORLANDC__ >= 0x580)
83 #define _STLP_NO_NATIVE_MBSTATE_T
84 #undef _STLP_NO_UNEXPECTED_EXCEPT_SUPPORT
87 #if (__BORLANDC__ < 0x580) && !defined (_RTLDLL)
88 # define _UNCAUGHT_EXCEPTION 1
92 #define _STLP_STATIC_CONST_INIT_BUG
94 #define _STLP_HAS_SPECIFIC_PROLOG_EPILOG 1
96 #define _STLP_LONG_LONG __int64
98 // auto enable thread safety and exceptions:
100 # define _STLP_HAS_NO_EXCEPTIONS
103 #if defined (__MT__) && !defined (_NOTHREADS)
104 # define _STLP_THREADS
107 #define _STLP_EXPORT_DECLSPEC __declspec(dllexport)
108 #define _STLP_IMPORT_DECLSPEC __declspec(dllimport)
110 #define _STLP_CLASS_EXPORT_DECLSPEC __declspec(dllexport)
111 #define _STLP_CLASS_IMPORT_DECLSPEC __declspec(dllimport)
116 #if defined (_RTLDLL)
117 # define _STLP_RUNTIME_DLL
119 #include <stl/config/_detect_dll_or_lib.h>
120 #undef _STLP_RUNTIME_DLL
123 #if defined (_STLP_USE_DYNAMIC_LIB)
124 # define _STLP_USE_DECLSPEC 1
125 # if defined (__BUILDING_STLPORT)
126 # define _STLP_CALL __cdecl __export
128 # define _STLP_CALL __cdecl
131 # define _STLP_CALL __cdecl
134 #if !defined (__linux__)
135 # include <stl/config/_auto_link.h>
138 #include <stl/config/_feedback.h>