1 /* STLport configuration file 2 * It is internal STLport header - DO NOT include it directly */ 3 4 #define _STLP_COMPILER "Borland" 5 6 #if (__BORLANDC__ < 0x551) 7 # error - Borland compilers below version 5.5.1 not supported. 8 #endif 9 10 #pragma defineonoption _STLP_NO_RTTI -RT- 11 12 #define _STLP_DONT_SUP_DFLT_PARAM 13 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 20 #endif 21 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 27 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 31 # endif 32 33 # undef _SYS_CDEFS_H 34 # include </usr/include/sys/cdefs.h> 35 36 # ifdef __MT__ 37 # define _PTHREADS 38 # if !defined (_RTLDLL) 39 # define _STLP_DONT_USE_PTHREAD_SPINLOCK 40 # endif 41 # else 42 # define _NOTHREADS 43 # endif 44 45 # pragma defineonoption _CPPUNWIND -xd 46 # define _STLP_NO_EXCEPTION_HEADER 47 # define _STLP_DONT_USE_EXCEPTIONS 48 #endif 49 50 #if (__BORLANDC__ >= 0x560) && (__BORLANDC__ < 0x570) 51 # define _USE_OLD_RW_STL 52 #endif 53 54 #if (__BORLANDC__ >= 0x560) 55 # if !defined (__BUILDING_STLPORT) 56 # define NOWINBASEINTERLOCK 57 # endif 58 # define _STLP_LANG_INVARIANT_DEFINED 59 #endif 60 61 #if (__BORLANDC__ < 0x590) 62 # define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER 63 # define _STLP_DLLEXPORT_NEEDS_PREDECLARATION 64 // <bitset> problems 65 # define _STLP_MEMBER_SPECIALIZATION_BUG 1 66 # ifdef __cplusplus 67 # define _STLP_TR1 _STLP_STD_NAME::tr1:: 68 # endif 69 #endif 70 71 #if (__BORLANDC__ < 0x564) 72 # define _STLP_QUALIFIED_SPECIALIZATION_BUG 73 # define _STLP_NO_MOVE_SEMANTIC 74 #endif 75 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 81 82 #if (__BORLANDC__ < 0x570) || (__BORLANDC__ >= 0x580) 83 #define _STLP_NO_NATIVE_MBSTATE_T 84 #undef _STLP_NO_UNEXPECTED_EXCEPT_SUPPORT 85 #endif 86 87 #if (__BORLANDC__ < 0x580) && !defined (_RTLDLL) 88 # define _UNCAUGHT_EXCEPTION 1 89 #endif 90 91 // <limits> problem 92 #define _STLP_STATIC_CONST_INIT_BUG 93 94 #define _STLP_HAS_SPECIFIC_PROLOG_EPILOG 1 95 96 #define _STLP_LONG_LONG __int64 97 98 // auto enable thread safety and exceptions: 99 #ifndef _CPPUNWIND 100 # define _STLP_HAS_NO_EXCEPTIONS 101 #endif 102 103 #if defined (__MT__) && !defined (_NOTHREADS) 104 # define _STLP_THREADS 105 #endif 106 107 #define _STLP_EXPORT_DECLSPEC __declspec(dllexport) 108 #define _STLP_IMPORT_DECLSPEC __declspec(dllimport) 109 110 #define _STLP_CLASS_EXPORT_DECLSPEC __declspec(dllexport) 111 #define _STLP_CLASS_IMPORT_DECLSPEC __declspec(dllimport) 112 113 #if defined (_DLL) 114 # define _STLP_DLL 115 #endif 116 #if defined (_RTLDLL) 117 # define _STLP_RUNTIME_DLL 118 #endif 119 #include <stl/config/_detect_dll_or_lib.h> 120 #undef _STLP_RUNTIME_DLL 121 #undef _STLP_DLL 122 123 #if defined (_STLP_USE_DYNAMIC_LIB) 124 # define _STLP_USE_DECLSPEC 1 125 # if defined (__BUILDING_STLPORT) 126 # define _STLP_CALL __cdecl __export 127 # else 128 # define _STLP_CALL __cdecl 129 # endif 130 #else 131 # define _STLP_CALL __cdecl 132 #endif 133 134 #if !defined (__linux__) 135 # include <stl/config/_auto_link.h> 136 #endif 137 138 #include <stl/config/_feedback.h> 139