1 // Boost compiler configuration selection header file
3 // (C) Copyright John Maddock 2001 - 2003.
4 // (C) Copyright Jens Maurer 2001 - 2002.
5 // Use, modification and distribution are subject to the
6 // Boost Software License, Version 1.0. (See accompanying file
7 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
10 // See http://www.boost.org for most recent version.
12 // locate which std lib we are using and define BOOST_STDLIB_CONFIG as needed:
14 // we need to include a std lib header here in order to detect which
15 // library is in use, use <utility> as it's about the smallest
16 // of the std lib headers - do not rely on this header being included -
17 // users can short-circuit this header if they know whose std lib
22 #if defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)
23 // STLPort library; this _must_ come first, otherwise since
24 // STLport typically sits on top of some other library, we
25 // can end up detecting that first rather than STLport:
26 # define BOOST_STDLIB_CONFIG "boost/config/stdlib/stlport.hpp"
28 #elif defined(__LIBCOMO__)
30 #define BOOST_STDLIB_CONFIG "boost/config/stdlib/libcomo.hpp"
32 #elif defined(__STD_RWCOMPILER_H__) || defined(_RWSTD_VER)
33 // Rogue Wave library:
34 # define BOOST_STDLIB_CONFIG "boost/config/stdlib/roguewave.hpp"
36 #elif defined(__GLIBCPP__) || defined(__GLIBCXX__)
38 # define BOOST_STDLIB_CONFIG "boost/config/stdlib/libstdcpp3.hpp"
40 #elif defined(__STL_CONFIG_H)
42 # define BOOST_STDLIB_CONFIG "boost/config/stdlib/sgi.hpp"
44 #elif defined(__MSL_CPP__)
46 # define BOOST_STDLIB_CONFIG "boost/config/stdlib/msl.hpp"
48 #elif defined(__IBMCPP__)
49 // take the default VACPP std lib
50 # define BOOST_STDLIB_CONFIG "boost/config/stdlib/vacpp.hpp"
52 #elif defined(MSIPL_COMPILE_H)
53 // Modena C++ standard library
54 # define BOOST_STDLIB_CONFIG "boost/config/stdlib/modena.hpp"
56 #elif (defined(_YVALS) && !defined(__IBMCPP__)) || defined(_CPPLIB_VER)
57 // Dinkumware Library (this has to appear after any possible replacement libraries):
58 # define BOOST_STDLIB_CONFIG "boost/config/stdlib/dinkumware.hpp"
60 #elif defined (BOOST_ASSERT_CONFIG)
61 // this must come last - generate an error if we don't
62 // recognise the library:
63 # error "Unknown standard library - please configure and report the results to boost.org"