# /* 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_CONTROL_IF_HPP # define ACTIV_BOOST_PREPROCESSOR_CONTROL_IF_HPP # # include # include # include # # /* ACTIV_BOOST_PP_IF */ # # if ~ACTIV_BOOST_PP_CONFIG_FLAGS() & ACTIV_BOOST_PP_CONFIG_EDG() # define ACTIV_BOOST_PP_IF(cond, t, f) ACTIV_BOOST_PP_IIF(ACTIV_BOOST_PP_BOOL(cond), t, f) # else # define ACTIV_BOOST_PP_IF(cond, t, f) ACTIV_BOOST_PP_IF_I(cond, t, f) # define ACTIV_BOOST_PP_IF_I(cond, t, f) ACTIV_BOOST_PP_IIF(ACTIV_BOOST_PP_BOOL(cond), t, f) # endif # # endif