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