1 // Boost compiler configuration selection header file
\r
3 // (C) Copyright John Maddock 2001 - 2003.
\r
4 // (C) Copyright Jens Maurer 2001 - 2002.
\r
5 // Use, modification and distribution are subject to the
\r
6 // Boost Software License, Version 1.0. (See accompanying file
\r
7 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
\r
10 // See http://www.boost.org for most recent version.
\r
12 // locate which std lib we are using and define BOOST_STDLIB_CONFIG as needed:
\r
14 // First include <cstddef> to determine if some version of STLport is in use as the std lib
\r
15 // (do not rely on this header being included since users can short-circuit this header
\r
16 // if they know whose std lib they are using.)
\r
19 #if defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)
\r
20 // STLPort library; this _must_ come first, otherwise since
\r
21 // STLport typically sits on top of some other library, we
\r
22 // can end up detecting that first rather than STLport:
\r
23 # define BOOST_STDLIB_CONFIG "boost/config/stdlib/stlport.hpp"
\r
27 // If our std lib was not some version of STLport, then include <utility> as it is about
\r
28 // the smallest of the std lib headers that includes real C++ stuff. (Some std libs do not
\r
29 // include their C++-related macros in <cstddef> so this additional include makes sure
\r
30 // we get those definitions)
\r
31 // (again do not rely on this header being included since users can short-circuit this
\r
32 // header if they know whose std lib they are using.)
\r
33 #include <boost/config/no_tr1/utility.hpp>
\r
35 #if defined(__LIBCOMO__)
\r
37 #define BOOST_STDLIB_CONFIG "boost/config/stdlib/libcomo.hpp"
\r
39 #elif defined(__STD_RWCOMPILER_H__) || defined(_RWSTD_VER)
\r
40 // Rogue Wave library:
\r
41 # define BOOST_STDLIB_CONFIG "boost/config/stdlib/roguewave.hpp"
\r
43 #elif defined(__GLIBCPP__) || defined(__GLIBCXX__)
\r
45 # define BOOST_STDLIB_CONFIG "boost/config/stdlib/libstdcpp3.hpp"
\r
47 #elif defined(__STL_CONFIG_H)
\r
49 # define BOOST_STDLIB_CONFIG "boost/config/stdlib/sgi.hpp"
\r
51 #elif defined(__MSL_CPP__)
\r
52 // MSL standard lib:
\r
53 # define BOOST_STDLIB_CONFIG "boost/config/stdlib/msl.hpp"
\r
55 #elif defined(__IBMCPP__)
\r
56 // take the default VACPP std lib
\r
57 # define BOOST_STDLIB_CONFIG "boost/config/stdlib/vacpp.hpp"
\r
59 #elif defined(MSIPL_COMPILE_H)
\r
60 // Modena C++ standard library
\r
61 # define BOOST_STDLIB_CONFIG "boost/config/stdlib/modena.hpp"
\r
63 #elif (defined(_YVALS) && !defined(__IBMCPP__)) || defined(_CPPLIB_VER)
\r
64 // Dinkumware Library (this has to appear after any possible replacement libraries):
\r
65 # define BOOST_STDLIB_CONFIG "boost/config/stdlib/dinkumware.hpp"
\r
67 #elif defined (BOOST_ASSERT_CONFIG)
\r
68 // this must come last - generate an error if we don't
\r
69 // recognise the library:
\r
70 # error "Unknown standard library - please configure and report the results to boost.org"
\r