Chris@16: Chris@16: #ifndef BOOST_MPL_AUX_CONFIG_COMPILER_HPP_INCLUDED Chris@16: #define BOOST_MPL_AUX_CONFIG_COMPILER_HPP_INCLUDED Chris@16: Chris@16: // Copyright Aleksey Gurtovoy 2001-2008 Chris@16: // Chris@16: // Distributed under the Boost Software License, Version 1.0. Chris@16: // (See accompanying file LICENSE_1_0.txt or copy at Chris@16: // http://www.boost.org/LICENSE_1_0.txt) Chris@16: // Chris@16: // See http://www.boost.org/libs/mpl for documentation. Chris@16: Chris@101: // $Id$ Chris@101: // $Date$ Chris@101: // $Revision$ Chris@16: Chris@16: #if !defined(BOOST_MPL_CFG_COMPILER_DIR) Chris@16: Chris@16: # include Chris@16: # include Chris@16: # include Chris@16: # include Chris@16: # include Chris@16: # include Chris@16: Chris@16: # if BOOST_WORKAROUND(BOOST_MSVC, < 1300) Chris@16: # define BOOST_MPL_CFG_COMPILER_DIR msvc60 Chris@16: Chris@16: # elif BOOST_WORKAROUND(BOOST_MSVC, == 1300) Chris@16: # define BOOST_MPL_CFG_COMPILER_DIR msvc70 Chris@16: Chris@16: # elif BOOST_WORKAROUND(BOOST_MPL_CFG_GCC, BOOST_TESTED_AT(0x0304)) Chris@16: # define BOOST_MPL_CFG_COMPILER_DIR gcc Chris@16: Chris@16: # elif BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x610)) Chris@16: # if !defined(BOOST_MPL_CFG_NO_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES) Chris@16: # define BOOST_MPL_CFG_COMPILER_DIR bcc551 Chris@16: # elif BOOST_WORKAROUND(__BORLANDC__, >= 0x590) Chris@16: # define BOOST_MPL_CFG_COMPILER_DIR bcc Chris@16: # else Chris@16: # define BOOST_MPL_CFG_COMPILER_DIR bcc_pre590 Chris@16: # endif Chris@16: Chris@16: # elif BOOST_WORKAROUND(__DMC__, BOOST_TESTED_AT(0x840)) Chris@16: # define BOOST_MPL_CFG_COMPILER_DIR dmc Chris@16: Chris@16: # elif defined(__MWERKS__) Chris@16: # if defined(BOOST_MPL_CFG_BROKEN_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES) Chris@16: # define BOOST_MPL_CFG_COMPILER_DIR mwcw Chris@16: # else Chris@16: # define BOOST_MPL_CFG_COMPILER_DIR plain Chris@16: # endif Chris@16: Chris@16: # elif defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) Chris@16: # define BOOST_MPL_CFG_COMPILER_DIR no_ctps Chris@16: Chris@16: # elif defined(BOOST_MPL_CFG_NO_TEMPLATE_TEMPLATE_PARAMETERS) Chris@16: # define BOOST_MPL_CFG_COMPILER_DIR no_ttp Chris@16: Chris@16: # else Chris@16: # define BOOST_MPL_CFG_COMPILER_DIR plain Chris@16: # endif Chris@16: Chris@16: #endif // BOOST_MPL_CFG_COMPILER_DIR Chris@16: Chris@16: #endif // BOOST_MPL_AUX_CONFIG_COMPILER_HPP_INCLUDED