1
# /* **************************************************************************
3
# * (C) Copyright Paul Mensonides 2002. Permission to copy, use, *
4
# * modify, sell, and distribute this software is granted provided *
5
# * this copyright notice appears in all copies. This software is *
6
# * provided "as is" without express or implied warranty, and with *
7
# * no claim at to its suitability for any purpose. *
9
# ************************************************************************** */
11
# /* See http://www.boost.org for most recent version. */
13
# ifndef BOOST_PREPROCESSOR_LOGICAL_COMPL_HPP
14
# define BOOST_PREPROCESSOR_LOGICAL_COMPL_HPP
16
# include <boost/preprocessor/config/config.hpp>
18
# /* BOOST_PP_COMPL */
20
# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()
21
# define BOOST_PP_COMPL(x) BOOST_PP_COMPL_I(x)
23
# define BOOST_PP_COMPL(x) BOOST_PP_COMPL_OO((x))
24
# define BOOST_PP_COMPL_OO(par) BOOST_PP_COMPL_I ## par
27
# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
28
# define BOOST_PP_COMPL_I(x) BOOST_PP_COMPL_ ## x
30
# define BOOST_PP_COMPL_I(x) BOOST_PP_COMPL_ID(BOOST_PP_COMPL_ ## x)
31
# define BOOST_PP_COMPL_ID(id) id
34
# define BOOST_PP_COMPL_0 1
35
# define BOOST_PP_COMPL_1 0