epoc32/include/stdapis/boost/preprocessor/config/config.hpp
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
#  *                                                                          *
williamr@4
     3
#  *     (C) Copyright Paul Mensonides 2002.
williamr@4
     4
#  *     Distributed under the Boost Software License, Version 1.0. (See
williamr@4
     5
#  *     accompanying file LICENSE_1_0.txt or copy at
williamr@4
     6
#  *     http://www.boost.org/LICENSE_1_0.txt)
williamr@4
     7
#  *                                                                          *
williamr@4
     8
#  ************************************************************************** */
williamr@4
     9
#
williamr@4
    10
# /* See http://www.boost.org for most recent version. */
williamr@4
    11
#
williamr@4
    12
# ifndef BOOST_PREPROCESSOR_CONFIG_CONFIG_HPP
williamr@4
    13
# define BOOST_PREPROCESSOR_CONFIG_CONFIG_HPP
williamr@4
    14
#
williamr@4
    15
# /* BOOST_PP_CONFIG_FLAGS */
williamr@4
    16
#
williamr@4
    17
# define BOOST_PP_CONFIG_STRICT() 0x0001
williamr@4
    18
# define BOOST_PP_CONFIG_IDEAL() 0x0002
williamr@4
    19
#
williamr@4
    20
# define BOOST_PP_CONFIG_MSVC() 0x0004
williamr@4
    21
# define BOOST_PP_CONFIG_MWCC() 0x0008
williamr@4
    22
# define BOOST_PP_CONFIG_BCC() 0x0010
williamr@4
    23
# define BOOST_PP_CONFIG_EDG() 0x0020
williamr@4
    24
# define BOOST_PP_CONFIG_DMC() 0x0040
williamr@4
    25
#
williamr@4
    26
# ifndef BOOST_PP_CONFIG_FLAGS
williamr@4
    27
#    if defined(__GCCXML__)
williamr@4
    28
#        define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_STRICT())
williamr@4
    29
#    elif defined(__WAVE__)
williamr@4
    30
#        define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_STRICT())
williamr@4
    31
#    elif defined(__MWERKS__) && __MWERKS__ >= 0x3200
williamr@4
    32
#        define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_STRICT())
williamr@4
    33
#    elif defined(__EDG__) || defined(__EDG_VERSION__)
williamr@4
    34
#        if defined(_MSC_VER) && __EDG_VERSION__ >= 308
williamr@4
    35
#            define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_MSVC())
williamr@4
    36
#        else
williamr@4
    37
#            define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_EDG() | BOOST_PP_CONFIG_STRICT())
williamr@4
    38
#        endif
williamr@4
    39
#    elif defined(__MWERKS__)
williamr@4
    40
#        define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_MWCC())
williamr@4
    41
#    elif defined(__DMC__)
williamr@4
    42
#        define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_DMC())
williamr@4
    43
#    elif defined(__BORLANDC__) && __BORLANDC__ >= 0x581
williamr@4
    44
#        define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_STRICT())
williamr@4
    45
#    elif defined(__BORLANDC__) || defined(__IBMC__) || defined(__IBMCPP__) || defined(__SUNPRO_CC)
williamr@4
    46
#        define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_BCC())
williamr@4
    47
#    elif defined(_MSC_VER)
williamr@4
    48
#        define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_MSVC())
williamr@4
    49
#    else
williamr@4
    50
#        define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_STRICT())
williamr@4
    51
#    endif
williamr@4
    52
# endif
williamr@4
    53
#
williamr@4
    54
# /* BOOST_PP_CONFIG_EXTENDED_LINE_INFO */
williamr@4
    55
#
williamr@4
    56
# ifndef BOOST_PP_CONFIG_EXTENDED_LINE_INFO
williamr@4
    57
#    define BOOST_PP_CONFIG_EXTENDED_LINE_INFO 0
williamr@4
    58
# endif
williamr@4
    59
#
williamr@4
    60
# /* BOOST_PP_CONFIG_ERRORS */
williamr@4
    61
#
williamr@4
    62
# ifndef BOOST_PP_CONFIG_ERRORS
williamr@4
    63
#    ifdef NDEBUG
williamr@4
    64
#        define BOOST_PP_CONFIG_ERRORS 0
williamr@4
    65
#    else
williamr@4
    66
#        define BOOST_PP_CONFIG_ERRORS 1
williamr@4
    67
#    endif
williamr@4
    68
# endif
williamr@4
    69
#
williamr@4
    70
# endif