34 lines
1.1 KiB
C++
34 lines
1.1 KiB
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_STRINGIZE_HPP
|
|
# define ACTIV_BOOST_PREPROCESSOR_STRINGIZE_HPP
|
|
#
|
|
# include <ActivBoost/preprocessor/config/config.hpp>
|
|
#
|
|
# /* ACTIV_BOOST_PP_STRINGIZE */
|
|
#
|
|
# if ACTIV_BOOST_PP_CONFIG_FLAGS() & ACTIV_BOOST_PP_CONFIG_MSVC()
|
|
# define ACTIV_BOOST_PP_STRINGIZE(text) ACTIV_BOOST_PP_STRINGIZE_A((text))
|
|
# define ACTIV_BOOST_PP_STRINGIZE_A(arg) ACTIV_BOOST_PP_STRINGIZE_I arg
|
|
# elif ACTIV_BOOST_PP_CONFIG_FLAGS() & ACTIV_BOOST_PP_CONFIG_MWCC()
|
|
# define ACTIV_BOOST_PP_STRINGIZE(text) ACTIV_BOOST_PP_STRINGIZE_OO((text))
|
|
# define ACTIV_BOOST_PP_STRINGIZE_OO(par) ACTIV_BOOST_PP_STRINGIZE_I ## par
|
|
# else
|
|
# define ACTIV_BOOST_PP_STRINGIZE(text) ACTIV_BOOST_PP_STRINGIZE_I(text)
|
|
# endif
|
|
#
|
|
# define ACTIV_BOOST_PP_STRINGIZE_I(...) #__VA_ARGS__
|
|
#
|
|
# endif
|