Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:40:59

0001 
0002 #ifndef BOOST_MPL_AUX_CONFIG_COMPILER_HPP_INCLUDED
0003 #define BOOST_MPL_AUX_CONFIG_COMPILER_HPP_INCLUDED
0004 
0005 // Copyright Aleksey Gurtovoy 2001-2008
0006 //
0007 // Distributed under the Boost Software License, Version 1.0. 
0008 // (See accompanying file LICENSE_1_0.txt or copy at 
0009 // http://www.boost.org/LICENSE_1_0.txt)
0010 //
0011 // See http://www.boost.org/libs/mpl for documentation.
0012 
0013 // $Id$
0014 // $Date$
0015 // $Revision$
0016 
0017 #if !defined(BOOST_MPL_CFG_COMPILER_DIR)
0018 
0019 #   include <boost/mpl/aux_/config/dtp.hpp>
0020 #   include <boost/mpl/aux_/config/ttp.hpp>
0021 #   include <boost/mpl/aux_/config/ctps.hpp>
0022 #   include <boost/mpl/aux_/config/msvc.hpp>
0023 #   include <boost/mpl/aux_/config/gcc.hpp>
0024 #   include <boost/mpl/aux_/config/workaround.hpp>
0025 
0026 #   if BOOST_WORKAROUND(BOOST_MSVC, < 1300)
0027 #       define BOOST_MPL_CFG_COMPILER_DIR msvc60
0028 
0029 #   elif BOOST_WORKAROUND(BOOST_MSVC, == 1300)
0030 #       define BOOST_MPL_CFG_COMPILER_DIR msvc70
0031 
0032 #   elif BOOST_WORKAROUND(BOOST_MPL_CFG_GCC, BOOST_TESTED_AT(0x0304))
0033 #       define BOOST_MPL_CFG_COMPILER_DIR gcc
0034 
0035 #   elif BOOST_WORKAROUND(BOOST_BORLANDC, BOOST_TESTED_AT(0x610))
0036 #       if !defined(BOOST_MPL_CFG_NO_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES)
0037 #           define BOOST_MPL_CFG_COMPILER_DIR bcc551
0038 #       elif BOOST_WORKAROUND(BOOST_BORLANDC, >= 0x590)
0039 #           define BOOST_MPL_CFG_COMPILER_DIR bcc
0040 #       else
0041 #           define BOOST_MPL_CFG_COMPILER_DIR bcc_pre590
0042 #       endif
0043 
0044 #   elif BOOST_WORKAROUND(__DMC__, BOOST_TESTED_AT(0x840))
0045 #       define BOOST_MPL_CFG_COMPILER_DIR dmc
0046 
0047 #   elif defined(__MWERKS__)
0048 #       if defined(BOOST_MPL_CFG_BROKEN_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES)
0049 #           define BOOST_MPL_CFG_COMPILER_DIR mwcw
0050 #       else
0051 #           define BOOST_MPL_CFG_COMPILER_DIR plain
0052 #       endif
0053 
0054 #   elif defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
0055 #       define BOOST_MPL_CFG_COMPILER_DIR no_ctps
0056 
0057 #   elif defined(BOOST_MPL_CFG_NO_TEMPLATE_TEMPLATE_PARAMETERS)
0058 #       define BOOST_MPL_CFG_COMPILER_DIR no_ttp
0059 
0060 #   else
0061 #       define BOOST_MPL_CFG_COMPILER_DIR plain
0062 #   endif
0063 
0064 #endif // BOOST_MPL_CFG_COMPILER_DIR
0065 
0066 #endif // BOOST_MPL_AUX_CONFIG_COMPILER_HPP_INCLUDED