Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkPPStringize.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 #/* Copyright (C) 2001
17 # * Housemarque Oy
18 # * http://www.housemarque.com
19 # *
20 # * Distributed under the Boost Software License, Version 1.0. (See
21 # * accompanying file LICENSE_1_0.txt or copy at
22 # * http://www.boost.org/LICENSE_1_0.txt)
23 # */
24 #
25 #/* Revised by Paul Mensonides (2002) */
26 #
27 #/* See http://www.boost.org for most recent version. */
28 #
29 #ifndef MITK_PREPROCESSOR_STRINGIZE_HPP
30 #define MITK_PREPROCESSOR_STRINGIZE_HPP
31 #
32 #include "mitkPPConfig.h"
33 #
34 #/* MITK_PP_STRINGIZE */
35 #
36 #if MITK_PP_CONFIG_FLAGS() & MITK_PP_CONFIG_MSVC()
37 #define MITK_PP_STRINGIZE(text) MITK_PP_STRINGIZE_A((text))
38 #define MITK_PP_STRINGIZE_A(arg) MITK_PP_STRINGIZE_I arg
39 #elif MITK_PP_CONFIG_FLAGS() & MITK_PP_CONFIG_MWCC()
40 #define MITK_PP_STRINGIZE(text) MITK_PP_STRINGIZE_OO((text))
41 #define MITK_PP_STRINGIZE_OO(par) MITK_PP_STRINGIZE_I##par
42 #else
43 #define MITK_PP_STRINGIZE(text) MITK_PP_STRINGIZE_I(text)
44 #endif
45 #
46 #define MITK_PP_STRINGIZE_I(text) #text
47 #
48 #endif