Ugly, not-to-be-pushed sucking in of all of Boost to get windows to work.
[dyninst.git] / external / boost / mpl / aux_ / config / compiler.hpp
1
2 #ifndef BOOST_MPL_AUX_CONFIG_COMPILER_HPP_INCLUDED
3 #define BOOST_MPL_AUX_CONFIG_COMPILER_HPP_INCLUDED
4
5 // Copyright Aleksey Gurtovoy 2001-2004
6 //
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)
10 //
11 // See http://www.boost.org/libs/mpl for documentation.
12
13 // $Source: /cvsroot/boost/boost/boost/mpl/aux_/config/compiler.hpp,v $
14 // $Date: 2004/09/02 15:40:45 $
15 // $Revision: 1.9 $
16
17 #if !defined(BOOST_MPL_CFG_COMPILER_DIR)
18
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>
25
26 #   if BOOST_WORKAROUND(BOOST_MSVC, < 1300)
27 #       define BOOST_MPL_CFG_COMPILER_DIR msvc60
28
29 #   elif BOOST_WORKAROUND(BOOST_MSVC, == 1300)
30 #       define BOOST_MPL_CFG_COMPILER_DIR msvc70
31
32 #   elif BOOST_WORKAROUND(BOOST_MPL_CFG_GCC, BOOST_TESTED_AT(0x0304))
33 #       define BOOST_MPL_CFG_COMPILER_DIR gcc
34
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
38 #       else
39 #           define BOOST_MPL_CFG_COMPILER_DIR bcc
40 #       endif
41
42 #   elif BOOST_WORKAROUND(__DMC__, BOOST_TESTED_AT(0x840))
43 #       define BOOST_MPL_CFG_COMPILER_DIR dmc
44
45 #   elif defined(__MWERKS__)
46 #       if defined(BOOST_MPL_CFG_BROKEN_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES)
47 #           define BOOST_MPL_CFG_COMPILER_DIR mwcw
48 #       else
49 #           define BOOST_MPL_CFG_COMPILER_DIR plain
50 #       endif
51
52 #   elif defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
53 #       define BOOST_MPL_CFG_COMPILER_DIR no_ctps
54
55 #   elif defined(BOOST_MPL_CFG_NO_TEMPLATE_TEMPLATE_PARAMETERS)
56 #       define BOOST_MPL_CFG_COMPILER_DIR no_ttp
57
58 #   else
59 #       define BOOST_MPL_CFG_COMPILER_DIR plain
60 #   endif
61
62 #endif // BOOST_MPL_CFG_COMPILER_DIR
63
64 #endif // BOOST_MPL_AUX_CONFIG_COMPILER_HPP_INCLUDED