Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
mitkPPCat.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_CAT_HPP
30 #define MITK_PREPROCESSOR_CAT_HPP
31 #
32 #include "mitkPPConfig.h"
33 #
34 #/* MITK_PP_CAT */
35 #
36 #if ~MITK_PP_CONFIG_FLAGS() & MITK_PP_CONFIG_MWCC()
37 #define MITK_PP_CAT(a, b) MITK_PP_CAT_I(a, b)
38 #else
39 #define MITK_PP_CAT(a, b) MITK_PP_CAT_OO((a, b))
40 #define MITK_PP_CAT_OO(par) MITK_PP_CAT_I##par
41 #endif
42 #
43 #if ~MITK_PP_CONFIG_FLAGS() & MITK_PP_CONFIG_MSVC()
44 #define MITK_PP_CAT_I(a, b) a##b
45 #else
46 #define MITK_PP_CAT_I(a, b) MITK_PP_CAT_II(a##b)
47 #define MITK_PP_CAT_II(res) res
48 #endif
49 #
50 #endif