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

Private GIT Repository
7f55b1dac9f80633e8701d673c72cd800831befc
[canny.git] / stc / exp / ml_stc_linux_make_v1.0 / include / boost / mpl / aux_ / config / compiler.hpp
1 \r
2 #ifndef BOOST_MPL_AUX_CONFIG_COMPILER_HPP_INCLUDED\r
3 #define BOOST_MPL_AUX_CONFIG_COMPILER_HPP_INCLUDED\r
4 \r
5 // Copyright Aleksey Gurtovoy 2001-2008\r
6 //\r
7 // Distributed under the Boost Software License, Version 1.0. \r
8 // (See accompanying file LICENSE_1_0.txt or copy at \r
9 // http://www.boost.org/LICENSE_1_0.txt)\r
10 //\r
11 // See http://www.boost.org/libs/mpl for documentation.\r
12 \r
13 // $Id: compiler.hpp 53189 2009-05-22 20:07:55Z hkaiser $\r
14 // $Date: 2009-05-22 16:07:55 -0400 (Fri, 22 May 2009) $\r
15 // $Revision: 53189 $\r
16 \r
17 #if !defined(BOOST_MPL_CFG_COMPILER_DIR)\r
18 \r
19 #   include <boost/mpl/aux_/config/dtp.hpp>\r
20 #   include <boost/mpl/aux_/config/ttp.hpp>\r
21 #   include <boost/mpl/aux_/config/ctps.hpp>\r
22 #   include <boost/mpl/aux_/config/msvc.hpp>\r
23 #   include <boost/mpl/aux_/config/gcc.hpp>\r
24 #   include <boost/mpl/aux_/config/workaround.hpp>\r
25 \r
26 #   if BOOST_WORKAROUND(BOOST_MSVC, < 1300)\r
27 #       define BOOST_MPL_CFG_COMPILER_DIR msvc60\r
28 \r
29 #   elif BOOST_WORKAROUND(BOOST_MSVC, == 1300)\r
30 #       define BOOST_MPL_CFG_COMPILER_DIR msvc70\r
31 \r
32 #   elif BOOST_WORKAROUND(BOOST_MPL_CFG_GCC, BOOST_TESTED_AT(0x0304))\r
33 #       define BOOST_MPL_CFG_COMPILER_DIR gcc\r
34 \r
35 #   elif BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x610))\r
36 #       if !defined(BOOST_MPL_CFG_NO_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES)\r
37 #           define BOOST_MPL_CFG_COMPILER_DIR bcc551\r
38 #       elif BOOST_WORKAROUND(__BORLANDC__, >= 0x590)\r
39 #           define BOOST_MPL_CFG_COMPILER_DIR bcc\r
40 #       else\r
41 #           define BOOST_MPL_CFG_COMPILER_DIR bcc_pre590\r
42 #       endif\r
43 \r
44 #   elif BOOST_WORKAROUND(__DMC__, BOOST_TESTED_AT(0x840))\r
45 #       define BOOST_MPL_CFG_COMPILER_DIR dmc\r
46 \r
47 #   elif defined(__MWERKS__)\r
48 #       if defined(BOOST_MPL_CFG_BROKEN_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES)\r
49 #           define BOOST_MPL_CFG_COMPILER_DIR mwcw\r
50 #       else\r
51 #           define BOOST_MPL_CFG_COMPILER_DIR plain\r
52 #       endif\r
53 \r
54 #   elif defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)\r
55 #       define BOOST_MPL_CFG_COMPILER_DIR no_ctps\r
56 \r
57 #   elif defined(BOOST_MPL_CFG_NO_TEMPLATE_TEMPLATE_PARAMETERS)\r
58 #       define BOOST_MPL_CFG_COMPILER_DIR no_ttp\r
59 \r
60 #   else\r
61 #       define BOOST_MPL_CFG_COMPILER_DIR plain\r
62 #   endif\r
63 \r
64 #endif // BOOST_MPL_CFG_COMPILER_DIR\r
65 \r
66 #endif // BOOST_MPL_AUX_CONFIG_COMPILER_HPP_INCLUDED\r