]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | # /* ************************************************************************** |
2 | # * * | |
3 | # * (C) Copyright Paul Mensonides 2002-2011. * | |
20effc67 | 4 | # * (C) Copyright Edward Diener 2011-2020. * |
7c673cae FG |
5 | # * Distributed under the Boost Software License, Version 1.0. (See * |
6 | # * accompanying file LICENSE_1_0.txt or copy at * | |
7 | # * http://www.boost.org/LICENSE_1_0.txt) * | |
8 | # * * | |
9 | # ************************************************************************** */ | |
10 | # | |
11 | # /* See http://www.boost.org for most recent version. */ | |
12 | # | |
13 | # ifndef BOOST_PREPROCESSOR_CONFIG_CONFIG_HPP | |
14 | # define BOOST_PREPROCESSOR_CONFIG_CONFIG_HPP | |
15 | # | |
16 | # /* BOOST_PP_CONFIG_FLAGS */ | |
17 | # | |
18 | # define BOOST_PP_CONFIG_STRICT() 0x0001 | |
19 | # define BOOST_PP_CONFIG_IDEAL() 0x0002 | |
20 | # | |
21 | # define BOOST_PP_CONFIG_MSVC() 0x0004 | |
22 | # define BOOST_PP_CONFIG_MWCC() 0x0008 | |
23 | # define BOOST_PP_CONFIG_BCC() 0x0010 | |
24 | # define BOOST_PP_CONFIG_EDG() 0x0020 | |
25 | # define BOOST_PP_CONFIG_DMC() 0x0040 | |
26 | # | |
27 | # ifndef BOOST_PP_CONFIG_FLAGS | |
b32b8144 | 28 | # if defined(__GCCXML__) || defined(__WAVE__) || defined(__MWERKS__) && __MWERKS__ >= 0x3200 |
7c673cae FG |
29 | # define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_STRICT()) |
30 | # elif defined(__EDG__) || defined(__EDG_VERSION__) | |
b32b8144 | 31 | # if defined(_MSC_VER) && !defined(__clang__) && (defined(__INTELLISENSE__) || __EDG_VERSION__ >= 308) |
92f5a8d4 TL |
32 | # if !defined(_MSVC_TRADITIONAL) || _MSVC_TRADITIONAL |
33 | # define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_MSVC()) | |
34 | # else | |
35 | # define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_STRICT()) | |
36 | # endif | |
7c673cae FG |
37 | # else |
38 | # define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_EDG() | BOOST_PP_CONFIG_STRICT()) | |
39 | # endif | |
b32b8144 FG |
40 | # elif defined(_MSC_VER) && defined(__clang__) |
41 | # define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_STRICT()) | |
7c673cae FG |
42 | # elif defined(__MWERKS__) |
43 | # define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_MWCC()) | |
44 | # elif defined(__DMC__) | |
45 | # define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_DMC()) | |
46 | # elif defined(__BORLANDC__) && __BORLANDC__ >= 0x581 | |
47 | # define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_STRICT()) | |
48 | # elif defined(__BORLANDC__) || defined(__IBMC__) || defined(__IBMCPP__) || defined(__SUNPRO_CC) | |
49 | # define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_BCC()) | |
b32b8144 | 50 | # elif defined(_MSC_VER) |
92f5a8d4 TL |
51 | # if !defined(_MSVC_TRADITIONAL) || _MSVC_TRADITIONAL |
52 | # define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_MSVC()) | |
53 | # else | |
54 | # define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_STRICT()) | |
55 | # endif | |
7c673cae FG |
56 | # else |
57 | # define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_STRICT()) | |
58 | # endif | |
59 | # endif | |
60 | # | |
61 | # /* BOOST_PP_CONFIG_EXTENDED_LINE_INFO */ | |
62 | # | |
63 | # ifndef BOOST_PP_CONFIG_EXTENDED_LINE_INFO | |
64 | # define BOOST_PP_CONFIG_EXTENDED_LINE_INFO 0 | |
65 | # endif | |
66 | # | |
67 | # /* BOOST_PP_CONFIG_ERRORS */ | |
68 | # | |
69 | # ifndef BOOST_PP_CONFIG_ERRORS | |
70 | # ifdef NDEBUG | |
71 | # define BOOST_PP_CONFIG_ERRORS 0 | |
72 | # else | |
73 | # define BOOST_PP_CONFIG_ERRORS 1 | |
74 | # endif | |
75 | # endif | |
76 | # | |
77 | # /* BOOST_PP_VARIADICS */ | |
78 | # | |
20effc67 | 79 | # if defined BOOST_PP_VARIADICS |
7c673cae | 80 | # undef BOOST_PP_VARIADICS |
20effc67 TL |
81 | # endif |
82 | # if defined BOOST_PP_VARIADICS_MSVC | |
83 | # undef BOOST_PP_VARIADICS_MSVC | |
84 | # endif | |
85 | # define BOOST_PP_VARIADICS 1 | |
86 | # if defined _MSC_VER && _MSC_VER >= 1400 && !defined(__clang__) && (defined(__INTELLISENSE__) || (defined(__INTEL_COMPILER) && __INTEL_COMPILER >= 1700) || !(defined __EDG__ || defined __GCCXML__ || (defined __NVCC__ && defined __CUDACC__) || defined __PATHSCALE__ || defined __DMC__ || defined __CODEGEARC__ || defined __BORLANDC__ || defined __MWERKS__ || defined __SUNPRO_CC || defined __HP_aCC || defined __MRC__ || defined __SC__ || defined __IBMCPP__ || defined __PGI)) && (!defined(_MSVC_TRADITIONAL) || _MSVC_TRADITIONAL) | |
87 | # define BOOST_PP_VARIADICS_MSVC 1 | |
7c673cae | 88 | # else |
20effc67 TL |
89 | # define BOOST_PP_VARIADICS_MSVC 0 |
90 | # endif | |
91 | # | |
92 | # if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_STRICT() | |
93 | # define BOOST_PP_IS_STANDARD() 1 | |
94 | # else | |
95 | # define BOOST_PP_IS_STANDARD() 0 | |
7c673cae FG |
96 | # endif |
97 | # | |
98 | # endif |