epoc32/include/stdapis/stlportv5/stl/config/stl_confix.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
williamr@2
     1
/*
williamr@4
     2
 * Copyright (c) 1999
williamr@2
     3
 * Boris Fomitchev
williamr@2
     4
 *
williamr@2
     5
 * This material is provided "as is", with absolutely no warranty expressed
williamr@2
     6
 * or implied. Any use is at your own risk.
williamr@2
     7
 *
williamr@4
     8
 * Permission to use or copy this software for any purpose is hereby granted
williamr@2
     9
 * without fee, provided the above notices are retained on all copies.
williamr@2
    10
 * Permission to modify the code and to distribute modified code is granted,
williamr@2
    11
 * provided the above notices are retained, and a notice that the code was
williamr@2
    12
 * modified is included with the above copyright notice.
williamr@2
    13
 *
williamr@2
    14
 */
williamr@2
    15
williamr@2
    16
/*
williamr@2
    17
 * STLport configuration file
williamr@2
    18
 * It is internal STLport header - DO NOT include it directly
williamr@2
    19
 * Purpose of this file : to define STLport settings that depend on
williamr@2
    20
 * compiler flags or can be otherwise missed
williamr@2
    21
 *
williamr@2
    22
 */
williamr@2
    23
williamr@2
    24
#ifndef _STLP_CONFIX_H
williamr@2
    25
# define _STLP_CONFIX_H
williamr@2
    26
williamr@2
    27
/* If, by any chance, C compiler gets there, try to help it to pass smoothly */
williamr@2
    28
# if ! defined (__cplusplus) && ! defined (_STLP_HAS_NO_NAMESPACES)
williamr@2
    29
#  define _STLP_HAS_NO_NAMESPACES
williamr@2
    30
# endif
williamr@2
    31
williamr@2
    32
# if defined(__MINGW32__)
williamr@2
    33
#   define _STLP_NO_DRAND48
williamr@2
    34
# endif
williamr@2
    35
williamr@2
    36
/* Modena C++ library  */
williamr@2
    37
#if defined (__MWERKS__) && __MWERKS__ <= 0x2303 || (defined (__KCC) && __KCC_VERSION < 3400)
williamr@2
    38
# include <mcompile.h>
williamr@2
    39
# define _STLP_USE_MSIPL 1
williamr@2
    40
# if defined (__KCC) || (defined(__MSL_CPP__) && \
williamr@2
    41
       ( (__MSL_CPP__ >= 0x5000 && defined( _MSL_NO_MESSAGE_FACET )) || \
williamr@4
    42
   (__MSL_CPP__ < 0x5000 && defined( MSIPL_NL_TYPES )))  \
williamr@4
    43
   )
williamr@2
    44
#  define _STLP_NO_NATIVE_MESSAGE_FACET 1
williamr@2
    45
# endif
williamr@2
    46
#endif
williamr@2
    47
williamr@2
    48
/* common switches for EDG front-end */
williamr@2
    49
# if defined (__EDG_SWITCHES)
williamr@2
    50
#   if !(defined(_TYPENAME) || defined (_TYPENAME_IS_KEYWORD))
williamr@2
    51
#     undef  _STLP_NEED_TYPENAME
williamr@2
    52
#     define _STLP_NEED_TYPENAME 1
williamr@2
    53
#   endif
williamr@2
    54
#   if !defined(_WCHAR_T_IS_KEYWORD)
williamr@4
    55
#     undef _STLP_NO_WCHAR_T
williamr@2
    56
#     define _STLP_NO_WCHAR_T 1
williamr@2
    57
#   endif
williamr@2
    58
#   ifndef _PARTIAL_SPECIALIZATION_OF_CLASS_TEMPLATES
williamr@2
    59
#     undef _STLP_NO_CLASS_PARTIAL_SPECIALIZATION
williamr@2
    60
#     define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1
williamr@2
    61
#   endif
williamr@2
    62
#   ifndef _MEMBER_TEMPLATES
williamr@2
    63
#     undef _STLP_NO_MEMBER_TEMPLATES
williamr@2
    64
#     define _STLP_NO_MEMBER_TEMPLATES 1
williamr@2
    65
#     undef _STLP_NO_MEMBER_TEMPLATE_CLASSES
williamr@2
    66
#     define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1
williamr@2
    67
#   endif
williamr@2
    68
#   if !defined(_MEMBER_TEMPLATE_KEYWORD)
williamr@2
    69
#     undef  _STLP_NO_MEMBER_TEMPLATE_KEYWORD
williamr@2
    70
#     define _STLP_NO_MEMBER_TEMPLATE_KEYWORD 1
williamr@2
    71
#   endif
williamr@2
    72
#   if !defined (__EXCEPTIONS) && ! defined (_EXCEPTIONS)
williamr@2
    73
#     undef  _STLP_HAS_NO_EXCEPTIONS
williamr@2
    74
#     define _STLP_HAS_NO_EXCEPTIONS
williamr@2
    75
#   endif
williamr@2
    76
#   undef __EDG_SWITCHES
williamr@2
    77
# endif /* EDG */
williamr@2
    78
#endif