epoc32/include/tools/stlport/stl/config/_bc.h
branchSymbian2
changeset 2 2fe1408b6811
child 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/tools/stlport/stl/config/_bc.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -0,0 +1,125 @@
     1.4 +// STLport configuration file
     1.5 +// It is internal STLport header - DO NOT include it directly
     1.6 +
     1.7 +//#define _STLP_VERBOSE
     1.8 +
     1.9 +#define _STLP_COMPILER "Borland"
    1.10 +
    1.11 +#if (__BORLANDC__ < 0x551)
    1.12 +#  error - Borland compilers below version 5.5.1 not supported.
    1.13 +#endif
    1.14 +
    1.15 +#if (__BORLANDC__ >= 0x580) && (__BORLANDC__ < 0x590)
    1.16 +#  define _STLP_NO_NEW_C_HEADERS
    1.17 +#  define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <../include/dinkumware/##header>
    1.18 +#  define _STLP_NO_FORCE_INSTANTIATE
    1.19 +#endif
    1.20 +
    1.21 +#if (__BORLANDC__ >= 0x560) && (__BORLANDC__ < 0x570)
    1.22 +#  define _USE_OLD_RW_STL
    1.23 +#endif
    1.24 +
    1.25 +#if (__BORLANDC__ >= 0x560)
    1.26 +#  define NOWINBASEINTERLOCK  // src/fstream.cpp error in winbase.h
    1.27 +#endif
    1.28 +
    1.29 +#if (__BORLANDC__ < 0x564)
    1.30 +#  define _STLP_QUALIFIED_SPECIALIZATION_BUG
    1.31 +#endif
    1.32 +
    1.33 +#if (__BORLANDC__ < 0x560)
    1.34 +#  define _STLP_NO_CONTAINERS_EXTENSION
    1.35 +#endif
    1.36 +
    1.37 +#define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER
    1.38 +#define _STLP_DONT_USE_PRIV_NAMESPACE
    1.39 +#define _STLP_NO_VENDOR_STDLIB_L
    1.40 +#define _STLP_NO_VENDOR_MATH_F
    1.41 +#define _STLP_DONT_USE_SHORT_STRING_OPTIM 1
    1.42 +#define _STLP_NO_NATIVE_MBSTATE_T
    1.43 +#define _STLP_DLLEXPORT_NEEDS_PREDECLARATION
    1.44 +#undef _STLP_NO_UNEXPECTED_EXCEPT_SUPPORT
    1.45 +#if (__BORLANDC__ < 0x580) && !defined (_RTLDLL)
    1.46 +#  define _UNCAUGHT_EXCEPTION 1
    1.47 +#endif
    1.48 +
    1.49 +// <limits> problem
    1.50 +#define _STLP_STATIC_CONST_INIT_BUG
    1.51 +
    1.52 +// <bitset> problems
    1.53 +#define _STLP_MEMBER_SPECIALIZATION_BUG 1
    1.54 +#define _STLP_HAS_SPECIFIC_PROLOG_EPILOG 1
    1.55 +
    1.56 +#define _STLP_LONG_LONG  __int64
    1.57 +
    1.58 +// auto enable thread safety and exceptions:
    1.59 +#ifndef _CPPUNWIND
    1.60 +#  define _STLP_HAS_NO_EXCEPTIONS
    1.61 +#endif
    1.62 +
    1.63 +#if defined (__MT__) && !defined (_NOTHREADS) && !defined (_REENTRANT)
    1.64 +#  if defined (_STLP_VERBOSE)
    1.65 +#    pragma message ("multi threaded")
    1.66 +#  endif
    1.67 +#  define _REENTRANT 1
    1.68 +#else
    1.69 +#  if defined (_STLP_VERBOSE)
    1.70 +#    pragma message ("single threaded")
    1.71 +#  endif
    1.72 +#endif
    1.73 +
    1.74 +#define _STLP_EXPORT_DECLSPEC __declspec(dllexport)
    1.75 +#define _STLP_IMPORT_DECLSPEC __declspec(dllimport)
    1.76 +
    1.77 +#define _STLP_CLASS_EXPORT_DECLSPEC __declspec(dllexport)
    1.78 +#define _STLP_CLASS_IMPORT_DECLSPEC __declspec(dllimport)
    1.79 +
    1.80 +#if defined (_DLL)
    1.81 +#  define _STLP_DLL
    1.82 +#endif
    1.83 +#if defined (_RTLDLL)
    1.84 +#  define _STLP_RUNTIME_DLL
    1.85 +#endif
    1.86 +#include <stl/config/_detect_dll_or_lib.h>
    1.87 +#undef _STLP_RUNTIME_DLL
    1.88 +#undef _STLP_DLL
    1.89 +
    1.90 +#if defined (_STLP_USE_DYNAMIC_LIB)
    1.91 +#  if defined (_STLP_VERBOSE)
    1.92 +#    pragma message ("Using/Building STLport dll")
    1.93 +#  endif
    1.94 +#elif defined (_STLP_USE_STATIC_LIB)
    1.95 +#  if defined (_STLP_VERBOSE)
    1.96 +#    pragma message ("Using/Building STLport lib")
    1.97 +#  endif
    1.98 +#else
    1.99 +#  error Unknown STLport usage config (dll/lib?)
   1.100 +#endif
   1.101 +
   1.102 +#if defined (_STLP_USING_CROSS_NATIVE_RUNTIME_LIB)
   1.103 +#  if defined (_STLP_VERBOSE)
   1.104 +#    pragma message ("Using cross version of native runtime")
   1.105 +#  endif
   1.106 +#endif
   1.107 +
   1.108 +#if !defined (_STLP_IMPORT_TEMPLATE_KEYWORD)
   1.109 +//#  define _STLP_IMPORT_TEMPLATE_KEYWORD __declspec(dllimport)
   1.110 +#endif
   1.111 +//#define _STLP_EXPORT_TEMPLATE_KEYWORD __declspec(dllexport)
   1.112 +
   1.113 +#if defined (_STLP_USE_DYNAMIC_LIB)
   1.114 +#  define _STLP_USE_DECLSPEC 1
   1.115 +#  if (__BORLANDC__ < 0x580)
   1.116 +#  if defined (__BUILDING_STLPORT)
   1.117 +#    define _STLP_CALL __cdecl __export
   1.118 +#  else
   1.119 +#    define  _STLP_CALL __cdecl __import
   1.120 +#  endif
   1.121 +#else
   1.122 +#  define  _STLP_CALL __cdecl
   1.123 +#endif
   1.124 +#else
   1.125 +#  define  _STLP_CALL __cdecl
   1.126 +#endif
   1.127 +
   1.128 +#include <stl/config/_auto_link.h>