2 #ifndef BOOST_MPL_AUX_CONFIG_COMPILER_HPP_INCLUDED
3 #define BOOST_MPL_AUX_CONFIG_COMPILER_HPP_INCLUDED
5 // Copyright Aleksey Gurtovoy 2001-2004
7 // Distributed under the Boost Software License, Version 1.0.
8 // (See accompanying file LICENSE_1_0.txt or copy at
9 // http://www.boost.org/LICENSE_1_0.txt)
11 // See http://www.boost.org/libs/mpl for documentation.
13 // $Source: /cvsroot/boost/boost/boost/mpl/aux_/config/compiler.hpp,v $
14 // $Date: 2004/09/02 15:40:45 $
17 #if !defined(BOOST_MPL_CFG_COMPILER_DIR)
19 # include <boost/mpl/aux_/config/dtp.hpp>
20 # include <boost/mpl/aux_/config/ttp.hpp>
21 # include <boost/mpl/aux_/config/ctps.hpp>
22 # include <boost/mpl/aux_/config/msvc.hpp>
23 # include <boost/mpl/aux_/config/gcc.hpp>
24 # include <boost/mpl/aux_/config/workaround.hpp>
26 # if BOOST_WORKAROUND(BOOST_MSVC, < 1300)
27 # define BOOST_MPL_CFG_COMPILER_DIR msvc60
29 # elif BOOST_WORKAROUND(BOOST_MSVC, == 1300)
30 # define BOOST_MPL_CFG_COMPILER_DIR msvc70
32 # elif BOOST_WORKAROUND(BOOST_MPL_CFG_GCC, BOOST_TESTED_AT(0x0304))
33 # define BOOST_MPL_CFG_COMPILER_DIR gcc
35 # elif BOOST_WORKAROUND(__BORLANDC__, < 0x600)
36 # if !defined(BOOST_MPL_CFG_NO_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES)
37 # define BOOST_MPL_CFG_COMPILER_DIR bcc551
39 # define BOOST_MPL_CFG_COMPILER_DIR bcc
42 # elif BOOST_WORKAROUND(__DMC__, BOOST_TESTED_AT(0x840))
43 # define BOOST_MPL_CFG_COMPILER_DIR dmc
45 # elif defined(__MWERKS__)
46 # if defined(BOOST_MPL_CFG_BROKEN_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES)
47 # define BOOST_MPL_CFG_COMPILER_DIR mwcw
49 # define BOOST_MPL_CFG_COMPILER_DIR plain
52 # elif defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
53 # define BOOST_MPL_CFG_COMPILER_DIR no_ctps
55 # elif defined(BOOST_MPL_CFG_NO_TEMPLATE_TEMPLATE_PARAMETERS)
56 # define BOOST_MPL_CFG_COMPILER_DIR no_ttp
59 # define BOOST_MPL_CFG_COMPILER_DIR plain
62 #endif // BOOST_MPL_CFG_COMPILER_DIR
64 #endif // BOOST_MPL_AUX_CONFIG_COMPILER_HPP_INCLUDED