epoc32/include/stdapis/boost/config/select_stdlib_config.hpp
branchSymbian2
changeset 2 2fe1408b6811
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/stdapis/boost/config/select_stdlib_config.hpp	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -0,0 +1,68 @@
     1.4 +//  Boost compiler configuration selection header file
     1.5 +
     1.6 +//  (C) Copyright John Maddock 2001 - 2003. 
     1.7 +//  (C) Copyright Jens Maurer 2001 - 2002. 
     1.8 +//  Use, modification and distribution are subject to the 
     1.9 +//  Boost Software License, Version 1.0. (See accompanying file 
    1.10 +//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
    1.11 +
    1.12 +
    1.13 +//  See http://www.boost.org for most recent version.
    1.14 +
    1.15 +// locate which std lib we are using and define BOOST_STDLIB_CONFIG as needed:
    1.16 +
    1.17 +// we need to include a std lib header here in order to detect which
    1.18 +// library is in use, use <utility> as it's about the smallest
    1.19 +// of the std lib headers - do not rely on this header being included -
    1.20 +// users can short-circuit this header if they know whose std lib
    1.21 +// they are using.
    1.22 +
    1.23 +#include <boost/config/no_tr1/utility.hpp>
    1.24 +
    1.25 +#if defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)
    1.26 +// STLPort library; this _must_ come first, otherwise since
    1.27 +// STLport typically sits on top of some other library, we
    1.28 +// can end up detecting that first rather than STLport:
    1.29 +#  define BOOST_STDLIB_CONFIG "boost/config/stdlib/stlport.hpp"
    1.30 +
    1.31 +#elif defined(__LIBCOMO__)
    1.32 +// Comeau STL:
    1.33 +#define BOOST_STDLIB_CONFIG "boost/config/stdlib/libcomo.hpp"
    1.34 +
    1.35 +#elif defined(__STD_RWCOMPILER_H__) || defined(_RWSTD_VER)
    1.36 +// Rogue Wave library:
    1.37 +#  define BOOST_STDLIB_CONFIG "boost/config/stdlib/roguewave.hpp"
    1.38 +
    1.39 +#elif defined(__GLIBCPP__) || defined(__GLIBCXX__)
    1.40 +// GNU libstdc++ 3
    1.41 +#  define BOOST_STDLIB_CONFIG "boost/config/stdlib/libstdcpp3.hpp"
    1.42 +
    1.43 +#elif defined(__STL_CONFIG_H)
    1.44 +// generic SGI STL
    1.45 +#  define BOOST_STDLIB_CONFIG "boost/config/stdlib/sgi.hpp"
    1.46 +
    1.47 +#elif defined(__MSL_CPP__)
    1.48 +// MSL standard lib:
    1.49 +#  define BOOST_STDLIB_CONFIG "boost/config/stdlib/msl.hpp"
    1.50 +
    1.51 +#elif defined(__IBMCPP__)
    1.52 +// take the default VACPP std lib
    1.53 +#  define BOOST_STDLIB_CONFIG "boost/config/stdlib/vacpp.hpp"
    1.54 +
    1.55 +#elif defined(MSIPL_COMPILE_H)
    1.56 +// Modena C++ standard library
    1.57 +#  define BOOST_STDLIB_CONFIG "boost/config/stdlib/modena.hpp"
    1.58 +
    1.59 +#elif (defined(_YVALS) && !defined(__IBMCPP__)) || defined(_CPPLIB_VER)
    1.60 +// Dinkumware Library (this has to appear after any possible replacement libraries):
    1.61 +#  define BOOST_STDLIB_CONFIG "boost/config/stdlib/dinkumware.hpp"
    1.62 +
    1.63 +#elif defined (BOOST_ASSERT_CONFIG)
    1.64 +// this must come last - generate an error if we don't
    1.65 +// recognise the library:
    1.66 +#  error "Unknown standard library - please configure and report the results to boost.org"
    1.67 +
    1.68 +#endif
    1.69 +
    1.70 +
    1.71 +