os/ossrv/ossrv_pub/boost_apis/boost/preprocessor/stringize.hpp
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
sl@0
     1
# /* Copyright (C) 2001
sl@0
     2
#  * Housemarque Oy
sl@0
     3
#  * http://www.housemarque.com
sl@0
     4
#  *
sl@0
     5
#  * Distributed under the Boost Software License, Version 1.0. (See
sl@0
     6
#  * accompanying file LICENSE_1_0.txt or copy at
sl@0
     7
#  * http://www.boost.org/LICENSE_1_0.txt)
sl@0
     8
#  */
sl@0
     9
#
sl@0
    10
# /* Revised by Paul Mensonides (2002) */
sl@0
    11
#
sl@0
    12
# /* See http://www.boost.org for most recent version. */
sl@0
    13
#
sl@0
    14
# ifndef BOOST_PREPROCESSOR_STRINGIZE_HPP
sl@0
    15
# define BOOST_PREPROCESSOR_STRINGIZE_HPP
sl@0
    16
#
sl@0
    17
# include <boost/preprocessor/config/config.hpp>
sl@0
    18
#
sl@0
    19
# /* BOOST_PP_STRINGIZE */
sl@0
    20
#
sl@0
    21
# if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
sl@0
    22
#    define BOOST_PP_STRINGIZE(text) BOOST_PP_STRINGIZE_A((text))
sl@0
    23
#    define BOOST_PP_STRINGIZE_A(arg) BOOST_PP_STRINGIZE_I arg
sl@0
    24
# elif BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()
sl@0
    25
#    define BOOST_PP_STRINGIZE(text) BOOST_PP_STRINGIZE_OO((text))
sl@0
    26
#    define BOOST_PP_STRINGIZE_OO(par) BOOST_PP_STRINGIZE_I ## par
sl@0
    27
# else
sl@0
    28
#    define BOOST_PP_STRINGIZE(text) BOOST_PP_STRINGIZE_I(text)
sl@0
    29
# endif
sl@0
    30
#
sl@0
    31
# define BOOST_PP_STRINGIZE_I(text) #text
sl@0
    32
#
sl@0
    33
# endif