# /* Copyright (C) 2001 # * Housemarque Oy # * http://www.housemarque.com # * # * 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) # */ # # /* Revised by Paul Mensonides (2002) */ # # /* See http://www.boost.org for most recent version. */ # # ifndef ACTIV_BOOST_PREPROCESSOR_LOGICAL_OR_HPP # define ACTIV_BOOST_PREPROCESSOR_LOGICAL_OR_HPP # # include # include # include # # /* ACTIV_BOOST_PP_OR */ # # if ~ACTIV_BOOST_PP_CONFIG_FLAGS() & ACTIV_BOOST_PP_CONFIG_EDG() # define ACTIV_BOOST_PP_OR(p, q) ACTIV_BOOST_PP_BITOR(ACTIV_BOOST_PP_BOOL(p), ACTIV_BOOST_PP_BOOL(q)) # else # define ACTIV_BOOST_PP_OR(p, q) ACTIV_BOOST_PP_OR_I(p, q) # define ACTIV_BOOST_PP_OR_I(p, q) ACTIV_BOOST_PP_BITOR(ACTIV_BOOST_PP_BOOL(p), ACTIV_BOOST_PP_BOOL(q)) # endif # # endif