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