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