1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/ossrv/ossrv_pub/boost_apis/boost/config/stdlib/msl.hpp Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,59 @@
1.4 +// (C) Copyright John Maddock 2001.
1.5 +// (C) Copyright Darin Adler 2001.
1.6 +// Use, modification and distribution are subject to the
1.7 +// Boost Software License, Version 1.0. (See accompanying file
1.8 +// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
1.9 +
1.10 +// See http://www.boost.org for most recent version.
1.11 +
1.12 +// Metrowerks standard library:
1.13 +
1.14 +#ifndef __MSL_CPP__
1.15 +# include <boost/config/no_tr1/utility.hpp>
1.16 +# ifndef __MSL_CPP__
1.17 +# error This is not the MSL standard library!
1.18 +# endif
1.19 +#endif
1.20 +
1.21 +#if __MSL_CPP__ >= 0x6000 // Pro 6
1.22 +# define BOOST_HAS_HASH
1.23 +# define BOOST_STD_EXTENSION_NAMESPACE Metrowerks
1.24 +#endif
1.25 +#define BOOST_HAS_SLIST
1.26 +
1.27 +#if __MSL_CPP__ < 0x6209
1.28 +# define BOOST_NO_STD_MESSAGES
1.29 +#endif
1.30 +
1.31 +// check C lib version for <stdint.h>
1.32 +#include <cstddef>
1.33 +
1.34 +#if defined(__MSL__) && (__MSL__ >= 0x5000)
1.35 +# define BOOST_HAS_STDINT_H
1.36 +# if !defined(__PALMOS_TRAPS__)
1.37 +# define BOOST_HAS_UNISTD_H
1.38 +# endif
1.39 + // boilerplate code:
1.40 +# include <boost/config/posix_features.hpp>
1.41 +#endif
1.42 +
1.43 +#if defined(_MWMT) || _MSL_THREADSAFE
1.44 +# define BOOST_HAS_THREADS
1.45 +#endif
1.46 +
1.47 +#ifdef _MSL_NO_EXPLICIT_FUNC_TEMPLATE_ARG
1.48 +# define BOOST_NO_STD_USE_FACET
1.49 +# define BOOST_HAS_TWO_ARG_USE_FACET
1.50 +#endif
1.51 +
1.52 +
1.53 +#define BOOST_STDLIB "Metrowerks Standard Library version " BOOST_STRINGIZE(__MSL_CPP__)
1.54 +
1.55 +
1.56 +
1.57 +
1.58 +
1.59 +
1.60 +
1.61 +
1.62 +