]> AND Private Git Repository - canny.git/blob - stc/exp/ml_stc_linux_make_v1.0/include/boost/preprocessor/config/config.hpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
dd4396a8b43c222b26cee923b3ef9306db9a6a79
[canny.git] / stc / exp / ml_stc_linux_make_v1.0 / include / boost / preprocessor / config / config.hpp
1 # /* **************************************************************************\r
2 #  *                                                                          *\r
3 #  *     (C) Copyright Paul Mensonides 2002.\r
4 #  *     Distributed under the Boost Software License, Version 1.0. (See\r
5 #  *     accompanying file LICENSE_1_0.txt or copy at\r
6 #  *     http://www.boost.org/LICENSE_1_0.txt)\r
7 #  *                                                                          *\r
8 #  ************************************************************************** */\r
9 #\r
10 # /* See http://www.boost.org for most recent version. */\r
11 #\r
12 # ifndef BOOST_PREPROCESSOR_CONFIG_CONFIG_HPP\r
13 # define BOOST_PREPROCESSOR_CONFIG_CONFIG_HPP\r
14 #\r
15 # /* BOOST_PP_CONFIG_FLAGS */\r
16 #\r
17 # define BOOST_PP_CONFIG_STRICT() 0x0001\r
18 # define BOOST_PP_CONFIG_IDEAL() 0x0002\r
19 #\r
20 # define BOOST_PP_CONFIG_MSVC() 0x0004\r
21 # define BOOST_PP_CONFIG_MWCC() 0x0008\r
22 # define BOOST_PP_CONFIG_BCC() 0x0010\r
23 # define BOOST_PP_CONFIG_EDG() 0x0020\r
24 # define BOOST_PP_CONFIG_DMC() 0x0040\r
25 #\r
26 # ifndef BOOST_PP_CONFIG_FLAGS\r
27 #    if defined(__GCCXML__)\r
28 #        define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_STRICT())\r
29 #    elif defined(__WAVE__)\r
30 #        define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_STRICT())\r
31 #    elif defined(__MWERKS__) && __MWERKS__ >= 0x3200\r
32 #        define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_STRICT())\r
33 #    elif defined(__EDG__) || defined(__EDG_VERSION__)\r
34 #        if defined(_MSC_VER) && __EDG_VERSION__ >= 308\r
35 #            define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_MSVC())\r
36 #        else\r
37 #            define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_EDG() | BOOST_PP_CONFIG_STRICT())\r
38 #        endif\r
39 #    elif defined(__MWERKS__)\r
40 #        define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_MWCC())\r
41 #    elif defined(__DMC__)\r
42 #        define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_DMC())\r
43 #    elif defined(__BORLANDC__) && __BORLANDC__ >= 0x581\r
44 #        define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_STRICT())\r
45 #    elif defined(__BORLANDC__) || defined(__IBMC__) || defined(__IBMCPP__) || defined(__SUNPRO_CC)\r
46 #        define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_BCC())\r
47 #    elif defined(_MSC_VER)\r
48 #        define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_MSVC())\r
49 #    else\r
50 #        define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_STRICT())\r
51 #    endif\r
52 # endif\r
53 #\r
54 # /* BOOST_PP_CONFIG_EXTENDED_LINE_INFO */\r
55 #\r
56 # ifndef BOOST_PP_CONFIG_EXTENDED_LINE_INFO\r
57 #    define BOOST_PP_CONFIG_EXTENDED_LINE_INFO 0\r
58 # endif\r
59 #\r
60 # /* BOOST_PP_CONFIG_ERRORS */\r
61 #\r
62 # ifndef BOOST_PP_CONFIG_ERRORS\r
63 #    ifdef NDEBUG\r
64 #        define BOOST_PP_CONFIG_ERRORS 0\r
65 #    else\r
66 #        define BOOST_PP_CONFIG_ERRORS 1\r
67 #    endif\r
68 # endif\r
69 #\r
70 # endif\r