epoc32/include/tools/stlport/stl/config/_kai.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/_kai.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -0,0 +1,48 @@
     1.4 +// STLport config file for KAI C++ compiler
     1.5 +
     1.6 +#if defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 >= 4)
     1.7 +# define _STLP_RAND48 1
     1.8 +#endif
     1.9 +
    1.10 +#  ifndef __KAI_STRICT /* _NO_LONGLONG */
    1.11 +#   define _STLP_LONG_LONG long long
    1.12 +#  endif
    1.13 +
    1.14 +#  if !defined (__EXCEPTIONS) && ! defined (_EXCEPTIONS)
    1.15 +#    define _STLP_HAS_NO_EXCEPTIONS
    1.16 +#  endif
    1.17 +
    1.18 +# ifndef __BUILDING_STLPORT
    1.19 +#  define _STLP_LINK_TIME_INSTANTIATION 1
    1.20 +# endif
    1.21 +
    1.22 +// two levels of macros do not work good with kcc.
    1.23 +#   define _STLP_NATIVE_HEADER(header)    <../include/##header>
    1.24 +#   define _STLP_NATIVE_C_HEADER(header)    <../include/##header>
    1.25 +#   define _STLP_NATIVE_CPP_C_HEADER(header)    <../include/##header>
    1.26 +#   define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <../include/##header>
    1.27 +
    1.28 +# ifdef _WIN32
    1.29 +#  define _STLP_MINIMUM_IMPORT_STD
    1.30 +# endif
    1.31 +
    1.32 +// KAI C++ uses EDG front-end, but apparently different switches
    1.33 +// #  define __EDG_SWITCHES 1
    1.34 +
    1.35 +
    1.36 +#  define _STLP_VENDOR_GLOBAL_CSTD 1
    1.37 +#  define _STLP_VENDOR_MB_NAMESPACE std
    1.38 +
    1.39 +// boris : some of those may also apply to KCC 3.4
    1.40 +# if __KCC_VERSION < 4000
    1.41 +#  define _STLP_VENDOR_GLOBAL_EXCEPT_STD 1
    1.42 +
    1.43 +# endif
    1.44 +
    1.45 +# if defined (__sgi)
    1.46 +// this requires some discrimination on whether we are actually on
    1.47 +// a system officially supported by KAI.
    1.48 +#  define _STLP_HAS_NO_NEW_C_HEADERS 1
    1.49 +#  include <standards.h>
    1.50 +# endif
    1.51 +