Files
externals/linux/include/ActivBoost/preprocessor/control/if.hpp
T
2023-12-15 13:15:08 -05:00

31 lines
999 B
C++

# /* 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 <ActivBoost/preprocessor/config/config.hpp>
# include <ActivBoost/preprocessor/control/iif.hpp>
# include <ActivBoost/preprocessor/logical/bool.hpp>
#
# /* 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