1.1 --- a/epoc32/include/stdapis/stlport/stl/_site_config.h Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/stdapis/stlport/stl/_site_config.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,195 @@
1.4 -_site_config.h
1.5 +//
1.6 +// This file defines site configuration.
1.7 +//
1.8 +//
1.9 +
1.10 +/*
1.11 + * _STLP_NO_THREADS: if defined, STLport don't use any
1.12 + * multithreading support. Synonym is _NOTHREADS
1.13 + */
1.14 +// #define _NOTHREADS
1.15 +// #define _STLP_NO_THREADS
1.16 +
1.17 +/* _PTHREADS: if defined, use Posix threads for multithreading support. */
1.18 +#define _PTHREADS
1.19 +
1.20 +// compatibility section
1.21 +
1.22 +# if defined (_STLP_NO_IOSTREAMS) || defined (_STLP_NO_NEW_IOSTREAMS) && ! defined ( _STLP_NO_OWN_IOSTREAMS )
1.23 +# define _STLP_NO_OWN_IOSTREAMS
1.24 +# endif
1.25 +
1.26 +# if !defined (_STLP_NO_OWN_IOSTREAMS) && ! defined (_STLP_OWN_IOSTREAMS)
1.27 +# define _STLP_OWN_IOSTREAMS
1.28 +# endif
1.29 +
1.30 +# if (defined (_STLP_NOTHREADS) || defined (_STLP_NO_THREADS) || defined (NOTHREADS))
1.31 +# if ! defined (_NOTHREADS)
1.32 +# define _NOTHREADS
1.33 +# endif
1.34 +# if ! defined (_STLP_NO_THREADS)
1.35 +# define _STLP_NO_THREADS
1.36 +# endif
1.37 +# endif
1.38 +
1.39 +/*
1.40 + * Turn _STLP_USE_DYNAMIC_LIB to enforce use of .dll version of STLport library.
1.41 + * NOTE : please do that only if you know what you are doing !
1.42 + * Changing default will require you to change makefile in "src" accordingly
1.43 + * and to rebuild STLPort library !
1.44 + * On UNIX, this has no effect.
1.45 + *
1.46 + */
1.47 +// # define _STLP_USE_DYNAMIC_LIB
1.48 +
1.49 +/*
1.50 + * Turn _STLP_USE_STATIC_LIB to enforce use of static version of STLport library.
1.51 + * NOTE : please do that only if you know what you are doing !
1.52 + * Changing default will require you to change makefile in "src" accordingly
1.53 + * and to rebuild STLPort library !
1.54 + * On UNIX, this has no effect.
1.55 + *
1.56 + */
1.57 +// # define _STLP_USE_STATIC_LIB
1.58 +
1.59 +
1.60 +/*
1.61 + * Edit relative path below (or put full path) to get native
1.62 + * compiler vendor's headers included. Default is "../include"
1.63 + * Hint : never install STLport in the directory that ends with "include"
1.64 + */
1.65 +#if 0
1.66 + # undef _STLP_NATIVE_INCLUDE_PATH
1.67 + # define _STLP_NATIVE_INCLUDE_PATH ../include
1.68 + same for C library headers like <cstring>
1.69 + # undef _STLP_NATIVE_CPP_C_INCLUDE_PATH
1.70 + # define _STLP_NATIVE_CPP_C_INCLUDE_PATH ../include
1.71 + same for C headers like <string.h>
1.72 + # undef _STLP_NATIVE_C_INCLUDE_PATH
1.73 + # define _STLP_NATIVE_C_INCLUDE_PATH ../include
1.74 +#endif
1.75 +
1.76 +/*
1.77 + * _STLP_USE_OWN_NAMESPACE/_STLP_NO_OWN_NAMESPACE
1.78 + * If defined, STLport uses _STL:: namespace, else std::
1.79 + * The reason you have to use separate namespace in wrapper mode is that new-style IO
1.80 + * compiled library may have its own idea about STL stuff (string, vector, etc.),
1.81 + * so redefining them in the same namespace would break ODR and may cause
1.82 + * undefined behaviour. Rule of thumb is - if new-style iostreams are
1.83 + * available, there WILL be a conflict. Otherwise you should be OK.
1.84 + * In STLport iostreams mode, there is no need for this flag other than to facilitate
1.85 + * link with third-part libraries compiled with different standard library implementation.
1.86 + */
1.87 +// # define _STLP_USE_OWN_NAMESPACE 1
1.88 +# define _STLP_NO_OWN_NAMESPACE 1
1.89 +
1.90 +
1.91 +/*
1.92 + * Uncomment _STLP_USE_NEWALLOC to force allocator<T> to use plain "new"
1.93 + * instead of STLport optimized node allocator engine.
1.94 + */
1.95 +// #define _STLP_USE_NEWALLOC 1
1.96 +
1.97 +/*
1.98 + * Uncomment _STLP_USE_MALLOC to force allocator<T> to use plain "malloc"
1.99 + * instead of STLport optimized node allocator engine.
1.100 + */
1.101 +// #define _STLP_USE_MALLOC 1
1.102 +
1.103 +/*
1.104 + * Set _STLP_DEBUG_ALLOC to use allocators that perform memory debugging,
1.105 + * such as padding/checking for memory consistency
1.106 + */
1.107 +// #define _STLP_DEBUG_ALLOC 1
1.108 +
1.109 +
1.110 +/*
1.111 + * Uncomment this to force all debug diagnostic to be directed through a
1.112 + * user-defined global function:
1.113 + * void __stl_debug_message(const char * format_str, ...)
1.114 + * instead of predefined STLport routine.
1.115 + * This allows you to take control of debug message output.
1.116 + * Default routine calls fprintf(stderr,...)
1.117 + * Note : If you set this macro, you must supply __stl_debug_message
1.118 + * function definition somewhere.
1.119 + */
1.120 +//#define _STLP_DEBUG_MESSAGE 1
1.121 +
1.122 +/*
1.123 + * Uncomment this to force all failed assertions to be executed through
1.124 + * user-defined global function:
1.125 + * void __stl_debug_terminate(void). This allows
1.126 + * you to take control of assertion behaviour for debugging purposes.
1.127 + * Default routine throws unique exception if _STLP_USE_EXCEPTIONS is set,
1.128 + * calls _STLP_ABORT() otherwise.
1.129 + * Note : If you set this macro, you must supply __stl_debug_terminate
1.130 + * function definition somewhere.
1.131 + */
1.132 +//#define _STLP_DEBUG_TERMINATE 1
1.133 +
1.134 +/*
1.135 + * Comment this out to enable throwing exceptions from default __stl_debug_terminate()
1.136 + * instead of calling _STLP_ABORT().
1.137 + */
1.138 +#define _STLP_NO_DEBUG_EXCEPTIONS 1
1.139 +
1.140 +/*
1.141 + * Uncomment that to disable exception handling code
1.142 + */
1.143 +// #define _STLP_NO_EXCEPTIONS 1
1.144 +
1.145 +/*
1.146 + * _STLP_NO_NAMESPACES: if defined, don't put the library in namespace
1.147 + * stlport:: or std::, even if the compiler supports namespaces
1.148 + */
1.149 +
1.150 +// #define _STLP_NO_NAMESPACES 1
1.151 +
1.152 +//==========================================================
1.153 +// Compatibility section
1.154 +//==========================================================
1.155 +
1.156 +/*
1.157 + * Use abbreviated class names for linker benefit (don't affect interface).
1.158 + * This option is obsolete, but should work in this release.
1.159 + *
1.160 + */
1.161 +// # define _STLP_USE_ABBREVS
1.162 +
1.163 +/*
1.164 + * This definition precludes STLport reverse_iterator to be compatible with
1.165 + * other parts of MSVC library. (With partial specialization, it just
1.166 + * has no effect).
1.167 + * Use it _ONLY_ if you use SGI-style reverse_iterator<> template explicitly
1.168 + */
1.169 +// # define _STLP_NO_MSVC50_COMPATIBILITY 1
1.170 +
1.171 +/*
1.172 + * _STLP_USE_RAW_SGI_ALLOCATORS is a hook so that users can disable use of
1.173 + * allocator<T> as default parameter for containers, and use SGI
1.174 + * raw allocators as default ones, without having to edit library headers.
1.175 + * Use of this macro is strongly discouraged.
1.176 + */
1.177 +// #define _STLP_USE_RAW_SGI_ALLOCATORS 1
1.178 +
1.179 +/*
1.180 + * Use obsolete overloaded template functions iterator_category(), value_type(), distance_type()
1.181 + * for querying iterator properties. Please note those names are non-standard and are not guaranteed
1.182 + * to be used by every implementation. However, this setting is on by default when partial specialization
1.183 + * is not implemented in the compiler and cannot be sumulated (only if _STLP_NO_ANACHRONISMS is not set).
1.184 + * Use of those interfaces for user-defined iterators is strongly discouraged:
1.185 + * please use public inheritance from iterator<> template to achieve desired effect.
1.186 + * Second form is to disable old-style queries in any case.
1.187 + */
1.188 +// # define _STLP_USE_OLD_HP_ITERATOR_QUERIES
1.189 +// # define _STLP_NO_OLD_HP_ITERATOR_QUERIES
1.190 +
1.191 +
1.192 +//==========================================================================
1.193 +
1.194 +// This section contains swithes which should be off by default,
1.195 +// but so few compilers would have it undefined, so that we set them here,
1.196 +// with the option to be turned off later in compiler-specific file
1.197 +
1.198 +# define _STLP_INCOMPLETE_EXCEPTION_HEADER
1.199 +