epoc32/include/stdapis/boost/preprocessor/config/config.hpp
branchSymbian3
changeset 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/stdapis/boost/preprocessor/config/config.hpp	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -0,0 +1,70 @@
     1.4 +# /* **************************************************************************
     1.5 +#  *                                                                          *
     1.6 +#  *     (C) Copyright Paul Mensonides 2002.
     1.7 +#  *     Distributed under the Boost Software License, Version 1.0. (See
     1.8 +#  *     accompanying file LICENSE_1_0.txt or copy at
     1.9 +#  *     http://www.boost.org/LICENSE_1_0.txt)
    1.10 +#  *                                                                          *
    1.11 +#  ************************************************************************** */
    1.12 +#
    1.13 +# /* See http://www.boost.org for most recent version. */
    1.14 +#
    1.15 +# ifndef BOOST_PREPROCESSOR_CONFIG_CONFIG_HPP
    1.16 +# define BOOST_PREPROCESSOR_CONFIG_CONFIG_HPP
    1.17 +#
    1.18 +# /* BOOST_PP_CONFIG_FLAGS */
    1.19 +#
    1.20 +# define BOOST_PP_CONFIG_STRICT() 0x0001
    1.21 +# define BOOST_PP_CONFIG_IDEAL() 0x0002
    1.22 +#
    1.23 +# define BOOST_PP_CONFIG_MSVC() 0x0004
    1.24 +# define BOOST_PP_CONFIG_MWCC() 0x0008
    1.25 +# define BOOST_PP_CONFIG_BCC() 0x0010
    1.26 +# define BOOST_PP_CONFIG_EDG() 0x0020
    1.27 +# define BOOST_PP_CONFIG_DMC() 0x0040
    1.28 +#
    1.29 +# ifndef BOOST_PP_CONFIG_FLAGS
    1.30 +#    if defined(__GCCXML__)
    1.31 +#        define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_STRICT())
    1.32 +#    elif defined(__WAVE__)
    1.33 +#        define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_STRICT())
    1.34 +#    elif defined(__MWERKS__) && __MWERKS__ >= 0x3200
    1.35 +#        define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_STRICT())
    1.36 +#    elif defined(__EDG__) || defined(__EDG_VERSION__)
    1.37 +#        if defined(_MSC_VER) && __EDG_VERSION__ >= 308
    1.38 +#            define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_MSVC())
    1.39 +#        else
    1.40 +#            define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_EDG() | BOOST_PP_CONFIG_STRICT())
    1.41 +#        endif
    1.42 +#    elif defined(__MWERKS__)
    1.43 +#        define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_MWCC())
    1.44 +#    elif defined(__DMC__)
    1.45 +#        define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_DMC())
    1.46 +#    elif defined(__BORLANDC__) && __BORLANDC__ >= 0x581
    1.47 +#        define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_STRICT())
    1.48 +#    elif defined(__BORLANDC__) || defined(__IBMC__) || defined(__IBMCPP__) || defined(__SUNPRO_CC)
    1.49 +#        define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_BCC())
    1.50 +#    elif defined(_MSC_VER)
    1.51 +#        define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_MSVC())
    1.52 +#    else
    1.53 +#        define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_STRICT())
    1.54 +#    endif
    1.55 +# endif
    1.56 +#
    1.57 +# /* BOOST_PP_CONFIG_EXTENDED_LINE_INFO */
    1.58 +#
    1.59 +# ifndef BOOST_PP_CONFIG_EXTENDED_LINE_INFO
    1.60 +#    define BOOST_PP_CONFIG_EXTENDED_LINE_INFO 0
    1.61 +# endif
    1.62 +#
    1.63 +# /* BOOST_PP_CONFIG_ERRORS */
    1.64 +#
    1.65 +# ifndef BOOST_PP_CONFIG_ERRORS
    1.66 +#    ifdef NDEBUG
    1.67 +#        define BOOST_PP_CONFIG_ERRORS 0
    1.68 +#    else
    1.69 +#        define BOOST_PP_CONFIG_ERRORS 1
    1.70 +#    endif
    1.71 +# endif
    1.72 +#
    1.73 +# endif