2 #ifndef BOOST_MPL_AUX_CONFIG_COMPILER_HPP_INCLUDED
\r
3 #define BOOST_MPL_AUX_CONFIG_COMPILER_HPP_INCLUDED
\r
5 // Copyright Aleksey Gurtovoy 2001-2008
\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
11 // See http://www.boost.org/libs/mpl for documentation.
\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
17 #if !defined(BOOST_MPL_CFG_COMPILER_DIR)
\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
26 # if BOOST_WORKAROUND(BOOST_MSVC, < 1300)
\r
27 # define BOOST_MPL_CFG_COMPILER_DIR msvc60
\r
29 # elif BOOST_WORKAROUND(BOOST_MSVC, == 1300)
\r
30 # define BOOST_MPL_CFG_COMPILER_DIR msvc70
\r
32 # elif BOOST_WORKAROUND(BOOST_MPL_CFG_GCC, BOOST_TESTED_AT(0x0304))
\r
33 # define BOOST_MPL_CFG_COMPILER_DIR gcc
\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
41 # define BOOST_MPL_CFG_COMPILER_DIR bcc_pre590
\r
44 # elif BOOST_WORKAROUND(__DMC__, BOOST_TESTED_AT(0x840))
\r
45 # define BOOST_MPL_CFG_COMPILER_DIR dmc
\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
51 # define BOOST_MPL_CFG_COMPILER_DIR plain
\r
54 # elif defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
\r
55 # define BOOST_MPL_CFG_COMPILER_DIR no_ctps
\r
57 # elif defined(BOOST_MPL_CFG_NO_TEMPLATE_TEMPLATE_PARAMETERS)
\r
58 # define BOOST_MPL_CFG_COMPILER_DIR no_ttp
\r
61 # define BOOST_MPL_CFG_COMPILER_DIR plain
\r
64 #endif // BOOST_MPL_CFG_COMPILER_DIR
\r
66 #endif // BOOST_MPL_AUX_CONFIG_COMPILER_HPP_INCLUDED
\r