1 // (C) Copyright John Maddock 2001.
\r
2 // (C) Copyright Darin Adler 2001.
\r
3 // Use, modification and distribution are subject to the
\r
4 // Boost Software License, Version 1.0. (See accompanying file
\r
5 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
\r
7 // See http://www.boost.org for most recent version.
\r
9 // Metrowerks standard library:
\r
12 # include <boost/config/no_tr1/utility.hpp>
\r
13 # ifndef __MSL_CPP__
\r
14 # error This is not the MSL standard library!
\r
18 #if __MSL_CPP__ >= 0x6000 // Pro 6
\r
19 # define BOOST_HAS_HASH
\r
20 # define BOOST_STD_EXTENSION_NAMESPACE Metrowerks
\r
22 #define BOOST_HAS_SLIST
\r
24 #if __MSL_CPP__ < 0x6209
\r
25 # define BOOST_NO_STD_MESSAGES
\r
28 // check C lib version for <stdint.h>
\r
31 #if defined(__MSL__) && (__MSL__ >= 0x5000)
\r
32 # define BOOST_HAS_STDINT_H
\r
33 # if !defined(__PALMOS_TRAPS__)
\r
34 # define BOOST_HAS_UNISTD_H
\r
36 // boilerplate code:
\r
37 # include <boost/config/posix_features.hpp>
\r
40 #if defined(_MWMT) || _MSL_THREADSAFE
\r
41 # define BOOST_HAS_THREADS
\r
44 #ifdef _MSL_NO_EXPLICIT_FUNC_TEMPLATE_ARG
\r
45 # define BOOST_NO_STD_USE_FACET
\r
46 # define BOOST_HAS_TWO_ARG_USE_FACET
\r
49 // C++0x headers not yet implemented
\r
51 # define BOOST_NO_0X_HDR_ARRAY
\r
52 # define BOOST_NO_0X_HDR_CHRONO
\r
53 # define BOOST_NO_0X_HDR_CODECVT
\r
54 # define BOOST_NO_0X_HDR_CONCEPTS
\r
55 # define BOOST_NO_0X_HDR_CONDITION_VARIABLE
\r
56 # define BOOST_NO_0X_HDR_CONTAINER_CONCEPTS
\r
57 # define BOOST_NO_0X_HDR_FORWARD_LIST
\r
58 # define BOOST_NO_0X_HDR_FUTURE
\r
59 # define BOOST_NO_0X_HDR_INITIALIZER_LIST
\r
60 # define BOOST_NO_0X_HDR_ITERATOR_CONCEPTS
\r
61 # define BOOST_NO_0X_HDR_MEMORY_CONCEPTS
\r
62 # define BOOST_NO_0X_HDR_MUTEX
\r
63 # define BOOST_NO_0X_HDR_RANDOM
\r
64 # define BOOST_NO_0X_HDR_RATIO
\r
65 # define BOOST_NO_0X_HDR_REGEX
\r
66 # define BOOST_NO_0X_HDR_SYSTEM_ERROR
\r
67 # define BOOST_NO_0X_HDR_THREAD
\r
68 # define BOOST_NO_0X_HDR_TUPLE
\r
69 # define BOOST_NO_0X_HDR_TYPE_TRAITS
\r
70 # define BOOST_NO_STD_UNORDERED // deprecated; see following
\r
71 # define BOOST_NO_0X_HDR_UNORDERED_MAP
\r
72 # define BOOST_NO_0X_HDR_UNORDERED_SET
\r
74 #define BOOST_STDLIB "Metrowerks Standard Library version " BOOST_STRINGIZE(__MSL_CPP__)
\r