epoc32/include/tools/stlport/stl/config/_kai.h
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
child 4 837f303aceeb
permissions -rw-r--r--
Final list of Symbian^2 public API header files
williamr@2
     1
// STLport config file for KAI C++ compiler
williamr@2
     2
williamr@2
     3
#if defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 >= 4)
williamr@2
     4
# define _STLP_RAND48 1
williamr@2
     5
#endif
williamr@2
     6
williamr@2
     7
#  ifndef __KAI_STRICT /* _NO_LONGLONG */
williamr@2
     8
#   define _STLP_LONG_LONG long long
williamr@2
     9
#  endif
williamr@2
    10
williamr@2
    11
#  if !defined (__EXCEPTIONS) && ! defined (_EXCEPTIONS)
williamr@2
    12
#    define _STLP_HAS_NO_EXCEPTIONS
williamr@2
    13
#  endif
williamr@2
    14
williamr@2
    15
# ifndef __BUILDING_STLPORT
williamr@2
    16
#  define _STLP_LINK_TIME_INSTANTIATION 1
williamr@2
    17
# endif
williamr@2
    18
williamr@2
    19
// two levels of macros do not work good with kcc.
williamr@2
    20
#   define _STLP_NATIVE_HEADER(header)    <../include/##header>
williamr@2
    21
#   define _STLP_NATIVE_C_HEADER(header)    <../include/##header>
williamr@2
    22
#   define _STLP_NATIVE_CPP_C_HEADER(header)    <../include/##header>
williamr@2
    23
#   define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <../include/##header>
williamr@2
    24
williamr@2
    25
# ifdef _WIN32
williamr@2
    26
#  define _STLP_MINIMUM_IMPORT_STD
williamr@2
    27
# endif
williamr@2
    28
williamr@2
    29
// KAI C++ uses EDG front-end, but apparently different switches
williamr@2
    30
// #  define __EDG_SWITCHES 1
williamr@2
    31
williamr@2
    32
williamr@2
    33
#  define _STLP_VENDOR_GLOBAL_CSTD 1
williamr@2
    34
#  define _STLP_VENDOR_MB_NAMESPACE std
williamr@2
    35
williamr@2
    36
// boris : some of those may also apply to KCC 3.4
williamr@2
    37
# if __KCC_VERSION < 4000
williamr@2
    38
#  define _STLP_VENDOR_GLOBAL_EXCEPT_STD 1
williamr@2
    39
williamr@2
    40
# endif
williamr@2
    41
williamr@2
    42
# if defined (__sgi)
williamr@2
    43
// this requires some discrimination on whether we are actually on
williamr@2
    44
// a system officially supported by KAI.
williamr@2
    45
#  define _STLP_HAS_NO_NEW_C_HEADERS 1
williamr@2
    46
#  include <standards.h>
williamr@2
    47
# endif
williamr@2
    48