2001-09-18 11:13:39 +00:00
// Boost compiler configuration selection header file
2003-10-04 11:29:20 +00:00
// (C) Copyright John Maddock 2001 - 2003.
// (C) Copyright Martin Wille 2003.
// (C) Copyright Guillaume Melquiond 2003.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
2001-09-18 11:13:39 +00:00
// See http://www.boost.org for most recent version.
// locate which compiler we are using and define
// BOOST_COMPILER_CONFIG as needed:
2003-06-13 13:05:58 +00:00
# if defined __COMO__
2002-02-23 12:57:54 +00:00
// Comeau C++
# define BOOST_COMPILER_CONFIG "boost / config / compiler / comeau.hpp"
2003-12-13 10:06:06 +00:00
# elif defined __DMC__
// Digital Mars C++
# define BOOST_COMPILER_CONFIG "boost / config / compiler / digitalmars.hpp"
2003-07-07 11:56:56 +00:00
# elif defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || defined(__ECC)
// Intel
# define BOOST_COMPILER_CONFIG "boost / config / compiler / intel.hpp"
2003-06-13 13:05:58 +00:00
# elif defined __GNUC__
// GNU C++:
# define BOOST_COMPILER_CONFIG "boost / config / compiler / gcc.hpp"
2001-09-18 11:13:39 +00:00
# elif defined __KCC
// Kai C++
2001-09-19 11:48:51 +00:00
# define BOOST_COMPILER_CONFIG "boost / config / compiler / kai.hpp"
2001-09-18 11:13:39 +00:00
# elif defined __sgi
// SGI MIPSpro C++
2001-09-19 11:48:51 +00:00
# define BOOST_COMPILER_CONFIG "boost / config / compiler / sgi_mipspro.hpp"
2001-09-18 11:13:39 +00:00
# elif defined __DECCXX
// Compaq Tru64 Unix cxx
2001-09-19 11:48:51 +00:00
# define BOOST_COMPILER_CONFIG "boost / config / compiler / compaq_cxx.hpp"
2001-09-18 11:13:39 +00:00
# elif defined __ghs
// Greenhills C++
2001-09-19 11:48:51 +00:00
# define BOOST_COMPILER_CONFIG "boost / config / compiler / greenhills.hpp"
2001-09-18 11:13:39 +00:00
# elif defined __BORLANDC__
// Borland
2001-09-19 11:48:51 +00:00
# define BOOST_COMPILER_CONFIG "boost / config / compiler / borland.hpp"
2001-09-18 11:13:39 +00:00
# elif defined __MWERKS__
// Metrowerks CodeWarrior
2001-09-19 11:48:51 +00:00
# define BOOST_COMPILER_CONFIG "boost / config / compiler / metrowerks.hpp"
2001-09-18 11:13:39 +00:00
# elif defined __SUNPRO_CC
// Sun Workshop Compiler C++
2001-09-19 11:48:51 +00:00
# define BOOST_COMPILER_CONFIG "boost / config / compiler / sunpro_cc.hpp"
2001-09-18 11:13:39 +00:00
# elif defined __HP_aCC
// HP aCC
2001-09-19 11:48:51 +00:00
# define BOOST_COMPILER_CONFIG "boost / config / compiler / hp_acc.hpp"
2001-09-18 11:13:39 +00:00
# elif defined(__MRC__) || defined(__SC__)
// MPW MrCpp or SCpp
2001-09-19 11:48:51 +00:00
# define BOOST_COMPILER_CONFIG "boost / config / compiler / mpw.hpp"
2001-09-18 11:13:39 +00:00
# elif defined(__IBMCPP__)
// IBM Visual Age
2001-09-19 11:48:51 +00:00
# define BOOST_COMPILER_CONFIG "boost / config / compiler / vacpp.hpp"
2001-09-18 11:13:39 +00:00
# elif defined _MSC_VER
// Microsoft Visual C++
//
// Must remain the last #elif since some other vendors (Metrowerks, for
// example) also #define _MSC_VER
2001-09-19 11:48:51 +00:00
# define BOOST_COMPILER_CONFIG "boost / config / compiler / visualc.hpp"
2001-09-18 11:13:39 +00:00
# elif defined (BOOST_ASSERT_CONFIG)
// this must come last - generate an error if we don't
// recognise the compiler:
2003-12-19 12:16:58 +00:00
# error "Unknown compiler - please configure (http: //www.boost.org/libs/config/config.htm#configuring) and report the results to the main boost mailing list (http://www.boost.org/more/mailing_lists.htm#main)"
2001-09-18 11:13:39 +00:00
# endif