# /* ************************************************************************** # * * # * (C) Copyright Paul Mensonides 2002. # * Distributed under the Boost Software License, Version 1.0. (See # * accompanying file LICENSE_1_0.txt or copy at # * http://www.boost.org/LICENSE_1_0.txt) # * * # ************************************************************************** */ # # /* See http://www.boost.org for most recent version. */ # # ifndef ACTIV_BOOST_PREPROCESSOR_LOGICAL_BITOR_HPP # define ACTIV_BOOST_PREPROCESSOR_LOGICAL_BITOR_HPP # # include # # /* ACTIV_BOOST_PP_BITOR */ # # if ~ACTIV_BOOST_PP_CONFIG_FLAGS() & ACTIV_BOOST_PP_CONFIG_MWCC() # define ACTIV_BOOST_PP_BITOR(x, y) ACTIV_BOOST_PP_BITOR_I(x, y) # else # define ACTIV_BOOST_PP_BITOR(x, y) ACTIV_BOOST_PP_BITOR_OO((x, y)) # define ACTIV_BOOST_PP_BITOR_OO(par) ACTIV_BOOST_PP_BITOR_I ## par # endif # # if ~ACTIV_BOOST_PP_CONFIG_FLAGS() & ACTIV_BOOST_PP_CONFIG_MSVC() # define ACTIV_BOOST_PP_BITOR_I(x, y) ACTIV_BOOST_PP_BITOR_ ## x ## y # else # define ACTIV_BOOST_PP_BITOR_I(x, y) ACTIV_BOOST_PP_BITOR_ID(ACTIV_BOOST_PP_BITOR_ ## x ## y) # define ACTIV_BOOST_PP_BITOR_ID(id) id # endif # # define ACTIV_BOOST_PP_BITOR_00 0 # define ACTIV_BOOST_PP_BITOR_01 1 # define ACTIV_BOOST_PP_BITOR_10 1 # define ACTIV_BOOST_PP_BITOR_11 1 # # endif