/home/ntakagi/work/STLport-5.1.5/stlport/stl/config/_bc.hGo to the documentation of this file.00001 // STLport configuration file 00002 // It is internal STLport header - DO NOT include it directly 00003 00004 //#define _STLP_VERBOSE 00005 00006 #define _STLP_COMPILER "Borland" 00007 00008 #if (__BORLANDC__ < 0x551) 00009 # error - Borland compilers below version 5.5.1 not supported. 00010 #endif 00011 00012 #if (__BORLANDC__ >= 0x580) && (__BORLANDC__ < 0x590) 00013 # define _STLP_NO_NEW_C_HEADERS 00014 # define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <../include/dinkumware/##header> 00015 # define _STLP_NO_FORCE_INSTANTIATE 00016 #endif 00017 00018 #if (__BORLANDC__ >= 0x560) && (__BORLANDC__ < 0x570) 00019 # define _USE_OLD_RW_STL 00020 #endif 00021 00022 #if (__BORLANDC__ >= 0x560) 00023 # define NOWINBASEINTERLOCK // src/fstream.cpp error in winbase.h 00024 #endif 00025 00026 #if (__BORLANDC__ < 0x564) 00027 # define _STLP_QUALIFIED_SPECIALIZATION_BUG 00028 #endif 00029 00030 #if (__BORLANDC__ < 0x560) 00031 # define _STLP_NO_CONTAINERS_EXTENSION 00032 #endif 00033 00034 #define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER 00035 #define _STLP_DONT_USE_PRIV_NAMESPACE 00036 #define _STLP_NO_VENDOR_STDLIB_L 00037 #define _STLP_NO_VENDOR_MATH_F 00038 #define _STLP_DONT_USE_SHORT_STRING_OPTIM 1 00039 #define _STLP_NO_NATIVE_MBSTATE_T 00040 #define _STLP_DLLEXPORT_NEEDS_PREDECLARATION 00041 #undef _STLP_NO_UNEXPECTED_EXCEPT_SUPPORT 00042 #if (__BORLANDC__ < 0x580) && !defined (_RTLDLL) 00043 # define _UNCAUGHT_EXCEPTION 1 00044 #endif 00045 00046 // <limits> problem 00047 #define _STLP_STATIC_CONST_INIT_BUG 00048 00049 // <bitset> problems 00050 #define _STLP_MEMBER_SPECIALIZATION_BUG 1 00051 #define _STLP_HAS_SPECIFIC_PROLOG_EPILOG 1 00052 00053 #define _STLP_LONG_LONG __int64 00054 00055 // auto enable thread safety and exceptions: 00056 #ifndef _CPPUNWIND 00057 # define _STLP_HAS_NO_EXCEPTIONS 00058 #endif 00059 00060 #if defined (__MT__) && !defined (_NOTHREADS) && !defined (_REENTRANT) 00061 # if defined (_STLP_VERBOSE) 00062 # pragma message ("multi threaded") 00063 # endif 00064 # define _REENTRANT 1 00065 #else 00066 # if defined (_STLP_VERBOSE) 00067 # pragma message ("single threaded") 00068 # endif 00069 #endif 00070 00071 #define _STLP_EXPORT_DECLSPEC __declspec(dllexport) 00072 #define _STLP_IMPORT_DECLSPEC __declspec(dllimport) 00073 00074 #define _STLP_CLASS_EXPORT_DECLSPEC __declspec(dllexport) 00075 #define _STLP_CLASS_IMPORT_DECLSPEC __declspec(dllimport) 00076 00077 #if defined (_DLL) 00078 # define _STLP_DLL 00079 #endif 00080 #if defined (_RTLDLL) 00081 # define _STLP_RUNTIME_DLL 00082 #endif 00083 #include <stl/config/_detect_dll_or_lib.h> 00084 #undef _STLP_RUNTIME_DLL 00085 #undef _STLP_DLL 00086 00087 #if defined (_STLP_USE_DYNAMIC_LIB) 00088 # if defined (_STLP_VERBOSE) 00089 # pragma message ("Using/Building STLport dll") 00090 # endif 00091 #elif defined (_STLP_USE_STATIC_LIB) 00092 # if defined (_STLP_VERBOSE) 00093 # pragma message ("Using/Building STLport lib") 00094 # endif 00095 #else 00096 # error Unknown STLport usage config (dll/lib?) 00097 #endif 00098 00099 #if defined (_STLP_USING_CROSS_NATIVE_RUNTIME_LIB) 00100 # if defined (_STLP_VERBOSE) 00101 # pragma message ("Using cross version of native runtime") 00102 # endif 00103 #endif 00104 00105 #if !defined (_STLP_IMPORT_TEMPLATE_KEYWORD) 00106 //# define _STLP_IMPORT_TEMPLATE_KEYWORD __declspec(dllimport) 00107 #endif 00108 //#define _STLP_EXPORT_TEMPLATE_KEYWORD __declspec(dllexport) 00109 00110 #if defined (_STLP_USE_DYNAMIC_LIB) 00111 # define _STLP_USE_DECLSPEC 1 00112 # if (__BORLANDC__ < 0x580) 00113 # if defined (__BUILDING_STLPORT) 00114 # define _STLP_CALL __cdecl __export 00115 # else 00116 # define _STLP_CALL __cdecl __import 00117 # endif 00118 #else 00119 # define _STLP_CALL __cdecl 00120 #endif 00121 #else 00122 # define _STLP_CALL __cdecl 00123 #endif 00124 00125 #include <stl/config/_auto_link.h>
Generated on Mon Mar 10 15:32:46 2008 by ![]() |