epoc32/include/tools/stlport/stl/config/_apple.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
     1.1 --- a/epoc32/include/tools/stlport/stl/config/_apple.h	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ b/epoc32/include/tools/stlport/stl/config/_apple.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -1,122 +1,122 @@
     1.4 -/* STLport configuration file
     1.5 - * It is internal STLport header - DO NOT include it directly
     1.6 - */
     1.7 -
     1.8 -/* common configuration settings for Apple MPW MrCpp / SCpp */
     1.9 -
    1.10 -#if defined (__MRC__)
    1.11 -#  define _STLP_COMPILER "MPW MrCpp"
    1.12 -#else
    1.13 -#  define _STLP_COMPILER "MPW SCpp"
    1.14 -#endif
    1.15 -
    1.16 -#if defined(__MRC__) && __MRC__ < 0x500
    1.17 -# error Apple's MPW MrCpp v.5.0.0 or better compiler required
    1.18 -#endif
    1.19 -#if defined(__SC__) && __SC__ < 0x890
    1.20 -# error Apple's MPW SCpp v.8.9.0 or better compiler required
    1.21 -#endif
    1.22 -
    1.23 -/* TODO: Check that this config is necessary for all compiler versions.
    1.24 - * It is here for historical reasons for the moment.
    1.25 - */
    1.26 -#define _STLP_NO_CONTAINERS_EXTENSION
    1.27 -
    1.28 -#ifdef qMacApp
    1.29 -# ifndef __CONDITIONALMACROS__ /* skip including ConditionalMacros_AC.h if ConditionalMacros.h is already included */
    1.30 -# include <CoreSwitches_AC.h>
    1.31 -# include <ConditionalMacros_AC.h>
    1.32 -# include <Types_AC.h>
    1.33 -# define _STLP_FILE__ _FILE_AC
    1.34 -# define _STLP_DEBUG_MESSAGE
    1.35 -# define __stl_debug_message ProgramBreak_AC
    1.36 -# include <ConditionalMacros.h>
    1.37 -# endif
    1.38 -# include <Types.h>
    1.39 -#else
    1.40 -# include <ConditionalMacros.h>
    1.41 -# include <Types.h>
    1.42 -#endif
    1.43 -
    1.44 -#define _STLP_UINT32_T UInt32
    1.45 -typedef int wint_t;
    1.46 -
    1.47 -#ifndef TYPE_BOOL
    1.48 -# error <ConditionalMacros.h> must be included. (TYPE_BOOL)
    1.49 -#endif
    1.50 -#if !TYPE_BOOL
    1.51 -# define _STLP_NO_BOOL
    1.52 -# define _STLP_DONT_USE_BOOL_TYPEDEF
    1.53 -#endif
    1.54 -
    1.55 -#ifndef TYPE_LONGLONG
    1.56 -# error <ConditionalMacros.h> must be included. (TYPE_LONGLONG)
    1.57 -#endif
    1.58 -#if TYPE_LONGLONG
    1.59 -# define _STLP_LONG_LONG long long
    1.60 -#endif
    1.61 -
    1.62 -#if !__option(exceptions)
    1.63 -# define _STLP_HAS_NO_EXCEPTIONS
    1.64 -#endif
    1.65 -
    1.66 -#define _STLP_DEBUG_MESSAGE_POST DebugStr("\pSTL diagnosis issued. See 'stderr' for detail.");
    1.67 -#define _STLP_ASSERT_MSG_TRAILER " "
    1.68 -
    1.69 -#ifdef _STLP_DEBUG
    1.70 -#   define _STLP_THROW(x) (DebugStr("\pSTL is about to throw exception: "#x),throw x)
    1.71 -#endif
    1.72 -
    1.73 -#if defined(__MRC__)
    1.74 -# ifndef __spillargs
    1.75 -#  define __spillargs 1 // MrCpp requires this symbol to be defined as 1 to properly handle va_start; ref.[ file stdarg.h; line 26 ]
    1.76 -# endif
    1.77 -#endif
    1.78 -
    1.79 -#if defined(__SC__)
    1.80 -#define _STLP_VENDOR_LONG_DOUBLE_MATH        //*TY 12/03/2000 - SCpp's native math type is long double
    1.81 -#endif
    1.82 -
    1.83 -#ifndef _STLP_NATIVE_INCLUDE_PATH
    1.84 -# if __option(unix_includes)
    1.85 -#  define _STLP_NATIVE_INCLUDE_PATH ../CIncludes   // expects the alias to {CIncludes} under the same folder as {STL}
    1.86 -# else
    1.87 -#  define _STLP_NATIVE_INCLUDE_PATH ::CIncludes   // expects the alias to {CIncludes} under the same folder as {STL}
    1.88 -# endif
    1.89 -#endif
    1.90 -#if !defined(_STLP_MAKE_HEADER)
    1.91 -# if !__option(unix_includes)
    1.92 -#  define _STLP_MAKE_HEADER(path, header) <path:header> // Mac uses ":" for directory delimiter
    1.93 -# endif
    1.94 -#endif
    1.95 -
    1.96 -# define _STLD _DBG  // to keep the length of generated symbols within the compiler limitation
    1.97 -
    1.98 -#define _STLP_USE_STDIO_IO 1       //*TY 02/24/2000 - see also ; ref.[ file _fstream.h; line 36 ]
    1.99 -#define _STLP_NO_THREADS           //*TY 12/17/2000 - multi-thread capability not explored, yet.
   1.100 -#undef _REENTRANT                  //*ty 11/24/2001 - to make sure no thread facility is activated
   1.101 -#define _NOTHREADS                 //*ty 12/07/2001 -
   1.102 -
   1.103 -// native library limitations
   1.104 -#define _STLP_VENDOR_GLOBAL_STD          // mpw's c++ libs do not utilize namespace std yet
   1.105 -#define _STLP_NO_BAD_ALLOC               // known limitation
   1.106 -#define _STLP_HAS_NO_NEW_C_HEADERS       // known limitation
   1.107 -#define _STLP_NO_NEW_NEW_HEADER          // known limitation
   1.108 -#define _STLP_NO_NATIVE_MBSTATE_T        // known limitation
   1.109 -#define _STLP_NO_NATIVE_WIDE_FUNCTIONS   // known limitation
   1.110 -#define _STLP_NO_NATIVE_WIDE_STREAMS     // known limitation
   1.111 -#define _STLP_NO_UNCAUGHT_EXCEPT_SUPPORT // known limitation
   1.112 -#define _STLP_BROKEN_EXCEPTION_CLASS     // known limitation
   1.113 -
   1.114 -// compiler limitations
   1.115 -# define _STLP_DONT_SIMULATE_PARTIAL_SPEC_FOR_TYPE_TRAITS
   1.116 -
   1.117 -# define _STLP_MPWFIX_TRY try{                      //*TY 06/01/2000 - exception handling bug workaround
   1.118 -# define _STLP_MPWFIX_CATCH }catch(...){throw;}              //*TY 06/01/2000 - exception handling bug workaround
   1.119 -# define _STLP_MPWFIX_CATCH_ACTION(action) }catch(...){action;throw;}  //*TY 06/01/2000 - exception handling bug workaround
   1.120 -# define _STLP_THROW_RETURN_BUG            // known limitation
   1.121 -# define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION    // known limitation
   1.122 -# define _STLP_NO_PARTIAL_SPECIALIZATION_SYNTAX    // known limitation
   1.123 -# define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER    // known limitation
   1.124 -# define _STLP_NO_RELOPS_NAMESPACE          // known limitation
   1.125 -// end of stl_apple.h
   1.126 +/* STLport configuration file
   1.127 + * It is internal STLport header - DO NOT include it directly
   1.128 + */
   1.129 +
   1.130 +/* common configuration settings for Apple MPW MrCpp / SCpp */
   1.131 +
   1.132 +#if defined (__MRC__)
   1.133 +#  define _STLP_COMPILER "MPW MrCpp"
   1.134 +#else
   1.135 +#  define _STLP_COMPILER "MPW SCpp"
   1.136 +#endif
   1.137 +
   1.138 +#if defined(__MRC__) && __MRC__ < 0x500
   1.139 +# error Apple's MPW MrCpp v.5.0.0 or better compiler required
   1.140 +#endif
   1.141 +#if defined(__SC__) && __SC__ < 0x890
   1.142 +# error Apple's MPW SCpp v.8.9.0 or better compiler required
   1.143 +#endif
   1.144 +
   1.145 +/* TODO: Check that this config is necessary for all compiler versions.
   1.146 + * It is here for historical reasons for the moment.
   1.147 + */
   1.148 +#define _STLP_NO_CONTAINERS_EXTENSION
   1.149 +
   1.150 +#ifdef qMacApp
   1.151 +# ifndef __CONDITIONALMACROS__ /* skip including ConditionalMacros_AC.h if ConditionalMacros.h is already included */
   1.152 +# include <CoreSwitches_AC.h>
   1.153 +# include <ConditionalMacros_AC.h>
   1.154 +# include <Types_AC.h>
   1.155 +# define _STLP_FILE__ _FILE_AC
   1.156 +# define _STLP_DEBUG_MESSAGE
   1.157 +# define __stl_debug_message ProgramBreak_AC
   1.158 +# include <ConditionalMacros.h>
   1.159 +# endif
   1.160 +# include <Types.h>
   1.161 +#else
   1.162 +# include <ConditionalMacros.h>
   1.163 +# include <Types.h>
   1.164 +#endif
   1.165 +
   1.166 +#define _STLP_UINT32_T UInt32
   1.167 +typedef int wint_t;
   1.168 +
   1.169 +#ifndef TYPE_BOOL
   1.170 +# error <ConditionalMacros.h> must be included. (TYPE_BOOL)
   1.171 +#endif
   1.172 +#if !TYPE_BOOL
   1.173 +# define _STLP_NO_BOOL
   1.174 +# define _STLP_DONT_USE_BOOL_TYPEDEF
   1.175 +#endif
   1.176 +
   1.177 +#ifndef TYPE_LONGLONG
   1.178 +# error <ConditionalMacros.h> must be included. (TYPE_LONGLONG)
   1.179 +#endif
   1.180 +#if TYPE_LONGLONG
   1.181 +# define _STLP_LONG_LONG long long
   1.182 +#endif
   1.183 +
   1.184 +#if !__option(exceptions)
   1.185 +# define _STLP_HAS_NO_EXCEPTIONS
   1.186 +#endif
   1.187 +
   1.188 +#define _STLP_DEBUG_MESSAGE_POST DebugStr("\pSTL diagnosis issued. See 'stderr' for detail.");
   1.189 +#define _STLP_ASSERT_MSG_TRAILER " "
   1.190 +
   1.191 +#ifdef _STLP_DEBUG
   1.192 +#   define _STLP_THROW(x) (DebugStr("\pSTL is about to throw exception: "#x),throw x)
   1.193 +#endif
   1.194 +
   1.195 +#if defined(__MRC__)
   1.196 +# ifndef __spillargs
   1.197 +#  define __spillargs 1 // MrCpp requires this symbol to be defined as 1 to properly handle va_start; ref.[ file stdarg.h; line 26 ]
   1.198 +# endif
   1.199 +#endif
   1.200 +
   1.201 +#if defined(__SC__)
   1.202 +#define _STLP_VENDOR_LONG_DOUBLE_MATH        //*TY 12/03/2000 - SCpp's native math type is long double
   1.203 +#endif
   1.204 +
   1.205 +#ifndef _STLP_NATIVE_INCLUDE_PATH
   1.206 +# if __option(unix_includes)
   1.207 +#  define _STLP_NATIVE_INCLUDE_PATH ../CIncludes   // expects the alias to {CIncludes} under the same folder as {STL}
   1.208 +# else
   1.209 +#  define _STLP_NATIVE_INCLUDE_PATH ::CIncludes   // expects the alias to {CIncludes} under the same folder as {STL}
   1.210 +# endif
   1.211 +#endif
   1.212 +#if !defined(_STLP_MAKE_HEADER)
   1.213 +# if !__option(unix_includes)
   1.214 +#  define _STLP_MAKE_HEADER(path, header) <path:header> // Mac uses ":" for directory delimiter
   1.215 +# endif
   1.216 +#endif
   1.217 +
   1.218 +# define _STLD _DBG  // to keep the length of generated symbols within the compiler limitation
   1.219 +
   1.220 +#define _STLP_USE_STDIO_IO 1       //*TY 02/24/2000 - see also ; ref.[ file _fstream.h; line 36 ]
   1.221 +#define _STLP_NO_THREADS           //*TY 12/17/2000 - multi-thread capability not explored, yet.
   1.222 +#undef _REENTRANT                  //*ty 11/24/2001 - to make sure no thread facility is activated
   1.223 +#define _NOTHREADS                 //*ty 12/07/2001 -
   1.224 +
   1.225 +// native library limitations
   1.226 +#define _STLP_VENDOR_GLOBAL_STD          // mpw's c++ libs do not utilize namespace std yet
   1.227 +#define _STLP_NO_BAD_ALLOC               // known limitation
   1.228 +#define _STLP_HAS_NO_NEW_C_HEADERS       // known limitation
   1.229 +#define _STLP_NO_NEW_NEW_HEADER          // known limitation
   1.230 +#define _STLP_NO_NATIVE_MBSTATE_T        // known limitation
   1.231 +#define _STLP_NO_NATIVE_WIDE_FUNCTIONS   // known limitation
   1.232 +#define _STLP_NO_NATIVE_WIDE_STREAMS     // known limitation
   1.233 +#define _STLP_NO_UNCAUGHT_EXCEPT_SUPPORT // known limitation
   1.234 +#define _STLP_BROKEN_EXCEPTION_CLASS     // known limitation
   1.235 +
   1.236 +// compiler limitations
   1.237 +# define _STLP_DONT_SIMULATE_PARTIAL_SPEC_FOR_TYPE_TRAITS
   1.238 +
   1.239 +# define _STLP_MPWFIX_TRY try{                      //*TY 06/01/2000 - exception handling bug workaround
   1.240 +# define _STLP_MPWFIX_CATCH }catch(...){throw;}              //*TY 06/01/2000 - exception handling bug workaround
   1.241 +# define _STLP_MPWFIX_CATCH_ACTION(action) }catch(...){action;throw;}  //*TY 06/01/2000 - exception handling bug workaround
   1.242 +# define _STLP_THROW_RETURN_BUG            // known limitation
   1.243 +# define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION    // known limitation
   1.244 +# define _STLP_NO_PARTIAL_SPECIALIZATION_SYNTAX    // known limitation
   1.245 +# define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER    // known limitation
   1.246 +# define _STLP_NO_RELOPS_NAMESPACE          // known limitation
   1.247 +// end of stl_apple.h