epoc32/include/tools/stlport/stl/config/_gcc.h
branchSymbian3
changeset 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/tools/stlport/stl/config/_gcc.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -0,0 +1,461 @@
     1.4 +/* STLport configuration file
     1.5 + * It is internal STLport header - DO NOT include it directly
     1.6 + */
     1.7 +
     1.8 +#define _STLP_COMPILER "gcc"
     1.9 +
    1.10 +/* Systems having GLIBC installed have different traits */
    1.11 +#if defined (__linux__)
    1.12 +#  ifndef _STLP_USE_GLIBC
    1.13 +#    define _STLP_USE_GLIBC 1
    1.14 +#  endif
    1.15 +#  if defined (__UCLIBC__) && !defined (_STLP_USE_UCLIBC)
    1.16 +#    define _STLP_USE_UCLIBC 1
    1.17 +#  endif
    1.18 +#endif
    1.19 +
    1.20 +#if defined (__CYGWIN__) && \
    1.21 +     (__GNUC__ >= 3) && (__GNUC_MINOR__ >= 3) && !defined (_GLIBCPP_USE_C99)
    1.22 +#  define _STLP_NO_VENDOR_MATH_L
    1.23 +#  define _STLP_NO_VENDOR_STDLIB_L
    1.24 +#endif
    1.25 +
    1.26 +#if (__GNUC__ < 3)
    1.27 +#  define _STLP_NO_VENDOR_STDLIB_L
    1.28 +#endif
    1.29 +
    1.30 +/* We guess if we are using the cygwin distrib that has a special include schema.
    1.31 + * There is no way to distinguish a cygwin distrib used in no-cygwin mode from a
    1.32 + * mingw install. We are forced to use a configuration option
    1.33 + */
    1.34 +#if !defined (_STLP_NATIVE_INCLUDE_PATH) && \
    1.35 +    (defined (__CYGWIN__) || defined (__MINGW32__) && defined (_STLP_NO_CYGWIN))
    1.36 +#  if (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 3))
    1.37 +#    define _STLP_NATIVE_INCLUDE_PATH ../../../__GNUC__.__GNUC_MINOR__.__GNUC_PATCHLEVEL__/include/c++
    1.38 +#  elif defined (_STLP_NO_CYGWIN)
    1.39 +#    define _STLP_NATIVE_INCLUDE_PATH ../mingw
    1.40 +/*#  else
    1.41 + * Before version gcc 3.4, the cygwin package include path was conform to the
    1.42 + * GNU convention which is set later in this file.
    1.43 + */
    1.44 +#  endif
    1.45 +#endif
    1.46 +
    1.47 +#if (__GNUC__ < 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ < 4))
    1.48 +/* define for gcc versions before 3.4.0. */
    1.49 +#  define _STLP_NO_MEMBER_TEMPLATE_KEYWORD
    1.50 +#endif
    1.51 +
    1.52 +/* azov: gcc on lynx have a bug that causes internal
    1.53 + * compiler errors when compiling STLport with namespaces turned on.
    1.54 + * When the compiler gets better - comment out _STLP_HAS_NO_NAMESPACES
    1.55 + */
    1.56 +#if defined (__Lynx__) && (__GNUC__ < 3)
    1.57 +#  define _STLP_HAS_NO_NAMESPACES 1
    1.58 +#  define _STLP_NO_STATIC_TEMPLATE_DATA 1
    1.59 +/* turn off useless warning about including system headers */
    1.60 +#  define __NO_INCLUDE_WARN__ 1
    1.61 +#endif
    1.62 +
    1.63 +/* Tru64 Unix, AIX, HP : gcc there by default uses native ld and hence cannot auto-instantiate
    1.64 +   static template data. If you are using GNU ld, please say so in stl_user_config.h header */
    1.65 +#if (__GNUC__ < 3) && !defined(_STLP_GCC_USES_GNU_LD) && \
    1.66 +   ((defined (__osf__) && defined (__alpha__)) || defined (_AIX) || defined (__hpux) || defined(__amigaos__) )
    1.67 +#  define _STLP_NO_STATIC_TEMPLATE_DATA
    1.68 +#endif
    1.69 +
    1.70 +#if !defined (_REENTRANT) && (defined (_THREAD_SAFE) || \
    1.71 +                             (defined (__OpenBSD__) && defined (_POSIX_THREADS)) || \
    1.72 +                             (defined (__MINGW32__) && defined (_MT)))
    1.73 +#  define _REENTRANT
    1.74 +#endif
    1.75 +
    1.76 +#if defined (__DJGPP)
    1.77 +#  define _STLP_RAND48    1
    1.78 +#  define _NOTHREADS    1
    1.79 +#  undef  _PTHREADS
    1.80 +#  define _STLP_LITTLE_ENDIAN
    1.81 +#endif
    1.82 +
    1.83 +#if defined (__MINGW32__)
    1.84 +/* Mingw32, egcs compiler using the Microsoft C runtime */
    1.85 +#  undef  _STLP_NO_DRAND48
    1.86 +#  define _STLP_NO_DRAND48
    1.87 +#  define _STLP_CALL
    1.88 +
    1.89 +#  if defined (_STLP_NEW_PLATFORM_SDK)
    1.90 +/* For the moment the Windows SDK coming with Mingw still mimik the old platform SDK. */
    1.91 +#    undef _STLP_NEW_PLATFORM_SDK
    1.92 +#  endif
    1.93 +#endif /* __MINGW32__ */
    1.94 +
    1.95 +#if defined (__CYGWIN__) || defined (__MINGW32__)
    1.96 +#  if !defined (_STLP_USE_STATIC_LIB)
    1.97 +#    define _STLP_USE_DECLSPEC 1
    1.98 +#    if !defined (_STLP_USE_DYNAMIC_LIB)
    1.99 +#      define _STLP_USE_DYNAMIC_LIB
   1.100 +#    endif
   1.101 +#    define _STLP_EXPORT_DECLSPEC __declspec(dllexport)
   1.102 +#    define _STLP_CLASS_EXPORT_DECLSPEC __declspec(dllexport)
   1.103 +#    define _STLP_CLASS_IMPORT_DECLSPEC __declspec(dllimport)
   1.104 +#  endif
   1.105 +/* The following is defined independently of _STLP_USE_STATIC_LIB because it is also
   1.106 + * used to import symbols from PSDK under MinGW
   1.107 + */
   1.108 +#  define _STLP_IMPORT_DECLSPEC __declspec(dllimport)
   1.109 +#endif
   1.110 +
   1.111 +#if defined (__CYGWIN__) || defined (__MINGW32__) || !(defined (_STLP_USE_GLIBC) || defined (__sun) || defined(__APPLE__))
   1.112 +#  if !defined (__MINGW32__) && !defined (__CYGWIN__)
   1.113 +#    define _STLP_NO_NATIVE_MBSTATE_T    1
   1.114 +#  endif
   1.115 +#  if !defined (__MINGW32__) || (__GNUC__ < 3) || (__GNUC__ == 3) && (__GNUC_MINOR__ < 4)
   1.116 +#    define _STLP_NO_NATIVE_WIDE_FUNCTIONS 1
   1.117 +#  endif
   1.118 +#  define _STLP_NO_NATIVE_WIDE_STREAMS   1
   1.119 +#endif
   1.120 +
   1.121 +#define _STLP_NORETURN_FUNCTION __attribute__((noreturn))
   1.122 +
   1.123 +/* Mac OS X is a little different with namespaces and cannot instantiate
   1.124 + * static data members in template classes */
   1.125 +#if defined (__APPLE__)
   1.126 +#  if ((__GNUC__ < 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ < 3)))
   1.127 +/* Mac OS X is missing a required typedef and standard macro */
   1.128 +typedef unsigned int wint_t;
   1.129 +#  endif
   1.130 +
   1.131 +#  define __unix
   1.132 +
   1.133 +#  if (__GNUC__ < 3)
   1.134 +
   1.135 + /* Mac OS X needs one and only one source file to initialize all static data
   1.136 +  * members in template classes. Only one source file in an executable or
   1.137 +  * library can declare instances for such data members, otherwise duplicate
   1.138 +  * symbols will be generated. */
   1.139 +
   1.140 +#    define _STLP_NO_STATIC_TEMPLATE_DATA
   1.141 +#    define _STLP_STATIC_CONST_INIT_BUG 1
   1.142 +#    define _STLP_STATIC_TEMPLATE_DATA 0
   1.143 +#    define _STLP_WEAK_ATTRIBUTE 1
   1.144 + /* Workaround for the broken Mac OS X C++ preprocessor which cannot handle
   1.145 +  * parameterized macros in #include statements */
   1.146 +#    define _STLP_NATIVE_HEADER(header) <../g++/##header##>
   1.147 +#    define _STLP_NATIVE_C_HEADER(header) <../include/##header##>
   1.148 +#    define _STLP_NATIVE_CPP_C_HEADER(header) <../g++/##header##>
   1.149 +#    define _STLP_NATIVE_OLD_STREAMS_HEADER(header) <../g++/##header##>
   1.150 +#    define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <../g++/##header##>
   1.151 +#  endif /* __GNUC__ < 3 */
   1.152 +
   1.153 +#  define _STLP_NO_LONG_DOUBLE
   1.154 +
   1.155 +/* Mac OS X needs all "::" scope references to be "std::" */
   1.156 +#  define _STLP_USE_NEW_C_HEADERS
   1.157 +
   1.158 +#  define _STLP_NO_VENDOR_STDLIB_L
   1.159 +
   1.160 +#endif /* __APPLE__ */
   1.161 +
   1.162 +
   1.163 +#if defined(__BEOS__) && defined(__INTEL__)
   1.164 +#  define _STLP_NATIVE_HEADER(header) <../stlport/beos/##header##>
   1.165 +#  define _STLP_NATIVE_C_HEADER(header) <../stlport/beos/##header##>
   1.166 +#  define _STLP_NATIVE_CPP_C_HEADER(header) <../stlport/beos/##header##>
   1.167 +#  define _STLP_NATIVE_OLD_STREAMS_HEADER(header) <../stlport/beos/##header##>
   1.168 +#  define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <../stlport/beos/##header##>
   1.169 +#  define _STLP_NO_NATIVE_WIDE_FUNCTIONS 1
   1.170 +#  define _STLP_NO_NATIVE_WIDE_STREAMS   1
   1.171 +/*
   1.172 +#  define _NOTHREADS 1
   1.173 +*/
   1.174 +#  ifdef _PTHREADS
   1.175 +#    undef  _PTHREADS
   1.176 +#  endif
   1.177 +#  ifdef _STLP_PTHREADS
   1.178 +#    undef _STLP_PTHREADS
   1.179 +#  endif
   1.180 +#  define _STLP_USE_STDIO_IO 1
   1.181 +#  define _STLP_USE_GLIBC 1
   1.182 +#endif
   1.183 +
   1.184 +/* g++ 2.7.x and above */
   1.185 +#define _STLP_LONG_LONG long long
   1.186 +
   1.187 +#ifdef _STLP_USE_UCLIBC
   1.188 +/*
   1.189 +#  ifndef __DO_C99_MATH__
   1.190 +*/
   1.191 +  /* No *f math fuctions variants (i.e. sqrtf, fabsf, etc.) */
   1.192 +#  define _STLP_NO_VENDOR_MATH_F
   1.193 +  /* No *l math fuctions variants (i.e. sqrtl, fabsl, etc.) */
   1.194 +#  define _STLP_NO_VENDOR_MATH_L
   1.195 +#  define _STLP_NO_LONG_DOUBLE
   1.196 +/*
   1.197 +#  endif
   1.198 +*/
   1.199 +#endif
   1.200 +
   1.201 +#if defined (__OpenBSD__) || defined (__FreeBSD__)
   1.202 +#  define _STLP_NO_VENDOR_MATH_L
   1.203 +#  define _STLP_NO_VENDOR_STDLIB_L /* no llabs */
   1.204 +#  ifndef __unix
   1.205 +#    define __unix
   1.206 +#  endif
   1.207 +#endif
   1.208 +
   1.209 +#if defined (__alpha__)
   1.210 +#  define _STLP_NO_VENDOR_MATH_L
   1.211 +#  define _STLP_NO_IEC559_SUPPORT
   1.212 +#endif
   1.213 +
   1.214 +#if defined (__hpux)
   1.215 +#  define _STLP_NO_VENDOR_STDLIB_L /* no llabs */
   1.216 +  /* No *f math fuctions variants (i.e. sqrtf, fabsf, etc.) */
   1.217 +#  define _STLP_NO_VENDOR_MATH_F
   1.218 +#endif
   1.219 +
   1.220 +#if (__GNUC__ >= 3)
   1.221 +#  ifndef _STLP_HAS_NO_NEW_C_HEADERS
   1.222 +/*
   1.223 +#    ifndef _STLP_USE_UCLIBC
   1.224 +*/
   1.225 +#    define _STLP_HAS_NATIVE_FLOAT_ABS
   1.226 +/*
   1.227 +#    endif
   1.228 +*/
   1.229 +#  else
   1.230 +#    ifdef _STLP_USE_GLIBC
   1.231 +#      define _STLP_VENDOR_LONG_DOUBLE_MATH  1
   1.232 +#    endif
   1.233 +#  endif
   1.234 +#endif
   1.235 +
   1.236 +#if (__GNUC__ < 3)
   1.237 +#  define _STLP_HAS_NO_NEW_C_HEADERS     1
   1.238 +#  define _STLP_VENDOR_GLOBAL_CSTD       1
   1.239 +#  define _STLP_DONT_USE_PTHREAD_SPINLOCK 1
   1.240 +#  ifndef __HONOR_STD
   1.241 +#    define _STLP_VENDOR_GLOBAL_EXCEPT_STD 1
   1.242 +#  endif
   1.243 +/* egcs fails to initialize builtin types in expr. like this : new(p) char();  */
   1.244 +#  define _STLP_DEF_CONST_PLCT_NEW_BUG 1
   1.245 +#endif
   1.246 +
   1.247 +/*
   1.248 +#define _STLP_VENDOR_GLOBAL_CSTD 1
   1.249 +*/
   1.250 +
   1.251 +#if (__GNUC__ == 2) && (__GNUC_MINOR__ < 95)
   1.252 +#  define _STLP_NO_UNCAUGHT_EXCEPT_SUPPORT
   1.253 +#  define _STLP_NO_UNEXPECTED_EXCEPT_SUPPORT
   1.254 +#  define _STLP_DEF_CONST_DEF_PARAM_BUG 1
   1.255 +#else
   1.256 +#  undef _STLP_NO_UNCAUGHT_EXCEPT_SUPPORT
   1.257 +#  undef _STLP_NO_UNEXPECTED_EXCEPT_SUPPORT
   1.258 +#endif
   1.259 +
   1.260 +#if (__GNUC_MINOR__ < 9)  && (__GNUC__ < 3) /* gcc 2.8 */
   1.261 +#  define _STLP_NO_TEMPLATE_CONVERSIONS
   1.262 +#  define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1
   1.263 +#  define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER 1
   1.264 +#  define _STLP_NO_FRIEND_TEMPLATES 1
   1.265 +#  define _STLP_HAS_NO_NAMESPACES 1
   1.266 +#  define _STLP_NO_METHOD_SPECIALIZATION 1
   1.267 +#  define _STLP_NO_MEMBER_TEMPLATES 1
   1.268 +#  define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1
   1.269 +#  define _STLP_DONT_SIMULATE_PARTIAL_SPEC_FOR_TYPE_TRAITS
   1.270 +/*  DJGPP doesn't seem to implement it in 2.8.x */
   1.271 +#  ifdef DJGPP
   1.272 +#    define  _STLP_NO_STATIC_TEMPLATE_DATA 1
   1.273 +#  endif
   1.274 +#endif
   1.275 +
   1.276 +#if __GNUC__ <= 2 && __GNUC_MINOR__ <= 7 && !defined (__CYGWIN32__)
   1.277 +/* Will it work with 2.6 ? I doubt it. */
   1.278 +#  if ( __GNUC_MINOR__ < 6 )
   1.279 +__GIVE_UP_WITH_STL(GCC_272);
   1.280 +#  endif
   1.281 +
   1.282 +#  define  _STLP_NO_RELOPS_NAMESPACE
   1.283 +#  define  _STLP_NON_TYPE_TMPL_PARAM_BUG
   1.284 +#  define  _STLP_LIMITED_DEFAULT_TEMPLATES 1
   1.285 +#  define  _STLP_DEFAULT_TYPE_PARAM 1
   1.286 +#  define  _STLP_NO_BAD_ALLOC
   1.287 +#  define  _STLP_NO_ARROW_OPERATOR 1
   1.288 +#  ifndef _STLP_NO_STATIC_TEMPLATE_DATA
   1.289 +#    define  _STLP_NO_STATIC_TEMPLATE_DATA
   1.290 +#  endif
   1.291 +#  define  _STLP_STATIC_CONST_INIT_BUG 1
   1.292 +#  define  _STLP_NO_METHOD_SPECIALIZATION 1
   1.293 +
   1.294 +#  if !defined (__CYGWIN32__)
   1.295 +#    define _STLP_NESTED_TYPE_PARAM_BUG   1
   1.296 +#    define _STLP_BASE_MATCH_BUG       1
   1.297 +/*  unused operators are required (forward) */
   1.298 +#    define  _STLP_CONST_CONSTRUCTOR_BUG
   1.299 +#    define _STLP_NO_DEFAULT_NON_TYPE_PARAM
   1.300 +#  endif
   1.301 +#  define _STLP_NO_PARTIAL_SPECIALIZATION_SYNTAX 1
   1.302 +#  define _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS 1
   1.303 +#  define _STLP_NO_EXCEPTION_HEADER 1
   1.304 +#else /* ! <= 2.7.* */
   1.305 +#endif /* ! <= 2.7.* */
   1.306 +
   1.307 +/* static template data members workaround strategy for gcc tries
   1.308 + * to use weak symbols.
   1.309 + * if you don't want to use that, #define _STLP_WEAK_ATTRIBUTE=0 ( you'll
   1.310 + * have to put "#define __PUT_STATIC_DATA_MEMBERS_HERE" line in one of your
   1.311 + * compilation unit ( or CFLAGS for it ) _before_ including any STL header ).
   1.312 + */
   1.313 +#if defined (_STLP_NO_STATIC_TEMPLATE_DATA) && ! defined (_STLP_WEAK_ATTRIBUTE )
   1.314 +/* systems using GNU ld or format that supports weak symbols
   1.315 +   may use "weak" attribute
   1.316 +   Linux & Solaris ( x86 & SPARC ) are being auto-recognized here */
   1.317 +#  if defined(_STLP_GNU_LD) || defined(__ELF__) || defined (__CYGWIN__) || \
   1.318 +     (( defined (__SVR4) || defined ( __svr4__ )) && \
   1.319 +      ( defined (sun) || defined ( __sun__ )))
   1.320 +#    define _STLP_WEAK_ATTRIBUTE 1
   1.321 +#  endif
   1.322 +#endif /* _STLP_WEAK_ATTRIBUTE */
   1.323 +
   1.324 +
   1.325 +/* strict ANSI prohibits "long long" ( gcc) */
   1.326 +#if defined ( __STRICT_ANSI__ )
   1.327 +#  undef _STLP_LONG_LONG
   1.328 +/*
   1.329 +#    define _STLP_STRICT_ANSI 1
   1.330 +*/
   1.331 +#endif
   1.332 +
   1.333 +/*
   1.334 +#if !defined (__STRICT_ANSI__) || defined (__BUILDING_STLPORT)
   1.335 +#  define _STLP_USE_TEMPLATE_EXPORT
   1.336 +#  define _STLP_EXPORT_TEMPLATE_KEYWORD extern
   1.337 +#  define _STLP_IMPORT_TEMPLATE_KEYWORD extern
   1.338 +#endif
   1.339 +*/
   1.340 +
   1.341 +#ifndef __EXCEPTIONS
   1.342 +#  undef  _STLP_DONT_USE_EXCEPTIONS
   1.343 +#  define _STLP_DONT_USE_EXCEPTIONS 1
   1.344 +#endif
   1.345 +
   1.346 +#if (__GNUC__ >= 3)
   1.347 +
   1.348 +#  if !defined (_STLP_NATIVE_INCLUDE_PATH)
   1.349 +#    if ( (__GNUC__ == 3 ) && ((__GNUC_MINOR__ == 0) || ((__GNUC_MINOR__ < 3) && defined(__APPLE_CC__))))
   1.350 +#      define _STLP_NATIVE_INCLUDE_PATH ../g++-v3
   1.351 +#    else
   1.352 +#      if ( ((__GNUC__ == 4 ) || (__GNUC_MINOR__ >= 3)) && defined(__APPLE_CC__))
   1.353 +#        define _STLP_NATIVE_INCLUDE_PATH ../c++
   1.354 +/*
   1.355 +* Before version 3.4.0 the 0 patch level was not part of the include path:
   1.356 +*/
   1.357 +#      elif defined (__GNUC_PATCHLEVEL__) && ((__GNUC_PATCHLEVEL__ > 0) || \
   1.358 +                                              (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || \
   1.359 +                                              (__GNUC__ > 3))
   1.360 +#        define _STLP_NATIVE_INCLUDE_PATH ../__GNUC__.__GNUC_MINOR__.__GNUC_PATCHLEVEL__
   1.361 +#      else
   1.362 +#        define _STLP_NATIVE_INCLUDE_PATH ../__GNUC__.__GNUC_MINOR__
   1.363 +#      endif
   1.364 +#    endif
   1.365 +#  endif
   1.366 +
   1.367 +/* Instantiation scheme that used (default) in gcc 3 made void of sense explicit
   1.368 +   instantiation within library: nothing except increased library size. - ptr
   1.369 + */
   1.370 +#  define _STLP_NO_FORCE_INSTANTIATE
   1.371 +
   1.372 +#elif (__GNUC_MINOR__ < 8)
   1.373 +
   1.374 +#  if !defined (_STLP_NATIVE_INCLUDE_PATH)
   1.375 +#    define _STLP_NATIVE_INCLUDE_PATH ../g++-include
   1.376 +#  endif
   1.377 +
   1.378 +/* tuning of static template data members workaround */
   1.379 +#  if ( _STLP_STATIC_TEMPLATE_DATA < 1 )
   1.380 +#    if ( _STLP_WEAK_ATTRIBUTE > 0 )
   1.381 +#      define _STLP_WEAK __attribute__ (( weak ))
   1.382 +#    else
   1.383 +#      define _STLP_WEAK
   1.384 +#    endif /* _STLP_WEAK_ATTRIBUTE */
   1.385 +
   1.386 +#    ifdef __PUT_STATIC_DATA_MEMBERS_HERE
   1.387 +#      define __DECLARE_INSTANCE(type,item,init) type item _STLP_WEAK init
   1.388 +#    else
   1.389 +#      define __DECLARE_INSTANCE(type,item,init)
   1.390 +#    endif /* __PUT_STATIC_DATA_MEMBERS_HERE */
   1.391 +#  endif /* _STLP_STATIC_TEMPLATE_DATA */
   1.392 +
   1.393 +#else
   1.394 +
   1.395 +/* gcc-2.95.0 used to use "g++-3" directory which has been changed to "g++" in
   1.396 + * system-dependent "include" for 2.95.2 except for Cygwin and Mingw packages.
   1.397 + * I expect "g++-3" not being used in later releases.
   1.398 + * If your installation use "g++-3" include directory for any reason (pre-2.95.2 or Win binary kit),
   1.399 + * please change the macro below to point to your directory.
   1.400 + */
   1.401 +
   1.402 +#  if !defined (_STLP_NATIVE_INCLUDE_PATH)
   1.403 +#    if defined(__DJGPP)
   1.404 +#      define _STLP_NATIVE_INCLUDE_PATH ../lang/cxx
   1.405 +#    elif (__GNUC__ >= 3) || (__GNUC_MINOR__ >= 97)
   1.406 +#      define _STLP_NATIVE_INCLUDE_PATH ../include/g++-v3
   1.407 +#    elif ((__GNUC_MINOR__ >= 95 && __GNUC_MINOR__ < 97) && \
   1.408 +          !( defined (__FreeBSD__) || defined (__NetBSD__) || defined(__sgi) || defined (__OS2__) ) )
   1.409 +#      define _STLP_NATIVE_INCLUDE_PATH ../g++-3
   1.410 +#    elif (__GNUC_MINOR__ > 8) && (__GNUC_MINOR__ < 95) && (__GNUC__ < 3) && !defined( __Lynx__ )
   1.411 +/* this really sucks, as GNUpro does not really identifies itself, so we have to guess
   1.412 + * depending on a platform
   1.413 + */
   1.414 +#      ifdef __hpux
   1.415 +#        define _STLP_NATIVE_INCLUDE_PATH ../g++-3
   1.416 +#      else
   1.417 +#        define _STLP_NATIVE_INCLUDE_PATH ../g++-2
   1.418 +#      endif
   1.419 +#    else
   1.420 +#      define _STLP_NATIVE_INCLUDE_PATH g++
   1.421 +#    endif
   1.422 +#  endif
   1.423 +
   1.424 +/* <exception> et al */
   1.425 +#  ifdef __FreeBSD__
   1.426 +#    if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ > 95)
   1.427 +#      define _STLP_NATIVE_CPP_RUNTIME_INCLUDE_PATH ../include
   1.428 +#    endif
   1.429 +#  else
   1.430 +/* azov */
   1.431 +#    ifndef __Lynx__
   1.432 +#      if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)
   1.433 +/*
   1.434 +#     define _STLP_NATIVE_CPP_RUNTIME_INCLUDE_PATH ../g++-v3
   1.435 +*/
   1.436 +#      else
   1.437 +#        define _STLP_NATIVE_CPP_RUNTIME_INCLUDE_PATH ../include
   1.438 +#      endif
   1.439 +#    endif
   1.440 +#  endif
   1.441 +
   1.442 +#endif /* GNUC_MINOR < 8 */
   1.443 +
   1.444 +#if !defined (_STLP_NATIVE_C_INCLUDE_PATH)
   1.445 +#  define _STLP_NATIVE_C_INCLUDE_PATH ../include
   1.446 +#endif
   1.447 +
   1.448 +/* Tune settings for the case where static template data members are not
   1.449 + * instaniated by default
   1.450 + */
   1.451 +#if defined ( _STLP_NO_STATIC_TEMPLATE_DATA )
   1.452 +#  define _STLP_STATIC_TEMPLATE_DATA 0
   1.453 +#  if !defined ( _STLP_WEAK_ATTRIBUTE )
   1.454 +#    define _STLP_WEAK_ATTRIBUTE 0
   1.455 +#  endif
   1.456 +#  ifdef __PUT_STATIC_DATA_MEMBERS_HERE
   1.457 +#    define __DECLARE_INSTANCE(type,item,init) type item init
   1.458 +#  else
   1.459 +#    define __DECLARE_INSTANCE(type,item,init)
   1.460 +#  endif
   1.461 +#else
   1.462 +#  define _STLP_STATIC_TEMPLATE_DATA 1
   1.463 +#endif
   1.464 +