Blame view

3rdparty/boost_1_81_0/boost/config/stdlib/msl.hpp 2.77 KB
63e88f80   Hu Chunming   提交三方库
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
  //  (C) Copyright John Maddock 2001. 
  //  (C) Copyright Darin Adler 2001. 
  //  Use, modification and distribution are subject to the 
  //  Boost Software License, Version 1.0. (See accompanying file 
  //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  
  //  See http://www.boost.org for most recent version.
  
  //  Metrowerks standard library:
  
  #ifndef __MSL_CPP__
  #  include <boost/config/no_tr1/utility.hpp>
  #  ifndef __MSL_CPP__
  #     error This is not the MSL standard library!
  #  endif
  #endif
  
  #if __MSL_CPP__ >= 0x6000  // Pro 6
  #  define BOOST_HAS_HASH
  #  define BOOST_STD_EXTENSION_NAMESPACE Metrowerks
  #endif
  #define BOOST_HAS_SLIST
  
  #if __MSL_CPP__ < 0x6209
  #  define BOOST_NO_STD_MESSAGES
  #endif
  
  // check C lib version for <stdint.h>
  #include <cstddef>
  
  #if defined(__MSL__) && (__MSL__ >= 0x5000)
  #  define BOOST_HAS_STDINT_H
  #  if !defined(__PALMOS_TRAPS__)
  #    define BOOST_HAS_UNISTD_H
  #  endif
     // boilerplate code:
  #  include <boost/config/detail/posix_features.hpp>
  #endif
  
  #if defined(_MWMT) || _MSL_THREADSAFE
  #  define BOOST_HAS_THREADS
  #endif
  
  #ifdef _MSL_NO_EXPLICIT_FUNC_TEMPLATE_ARG
  #  define BOOST_NO_STD_USE_FACET
  #  define BOOST_HAS_TWO_ARG_USE_FACET
  #endif
  
  //  C++0x headers not yet implemented
  //
  #  define BOOST_NO_CXX11_HDR_ARRAY
  #  define BOOST_NO_CXX11_HDR_CHRONO
  #  define BOOST_NO_CXX11_HDR_CODECVT
  #  define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE
  #  define BOOST_NO_CXX11_HDR_FORWARD_LIST
  #  define BOOST_NO_CXX11_HDR_FUTURE
  #  define BOOST_NO_CXX11_HDR_INITIALIZER_LIST
  #  define BOOST_NO_CXX11_HDR_MUTEX
  #  define BOOST_NO_CXX11_HDR_RANDOM
  #  define BOOST_NO_CXX11_HDR_RATIO
  #  define BOOST_NO_CXX11_HDR_REGEX
  #  define BOOST_NO_CXX11_HDR_SYSTEM_ERROR
  #  define BOOST_NO_CXX11_HDR_THREAD
  #  define BOOST_NO_CXX11_HDR_TUPLE
  #  define BOOST_NO_CXX11_HDR_TYPE_TRAITS
  #  define BOOST_NO_CXX11_HDR_TYPEINDEX
  #  define BOOST_NO_CXX11_HDR_UNORDERED_MAP
  #  define BOOST_NO_CXX11_HDR_UNORDERED_SET
  #  define BOOST_NO_CXX11_NUMERIC_LIMITS
  #  define BOOST_NO_CXX11_ALLOCATOR
  #  define BOOST_NO_CXX11_POINTER_TRAITS
  #  define BOOST_NO_CXX11_ATOMIC_SMART_PTR
  #  define BOOST_NO_CXX11_SMART_PTR
  #  define BOOST_NO_CXX11_HDR_FUNCTIONAL
  #  define BOOST_NO_CXX11_HDR_ATOMIC
  #  define BOOST_NO_CXX11_STD_ALIGN
  #  define BOOST_NO_CXX11_ADDRESSOF
  #  define BOOST_NO_CXX11_HDR_EXCEPTION
  
  #if defined(__has_include)
  #if !__has_include(<shared_mutex>)
  #  define BOOST_NO_CXX14_HDR_SHARED_MUTEX
  #elif __cplusplus < 201402
  #  define BOOST_NO_CXX14_HDR_SHARED_MUTEX
  #endif
  #else
  #  define BOOST_NO_CXX14_HDR_SHARED_MUTEX
  #endif
  
  // C++14 features
  #  define BOOST_NO_CXX14_STD_EXCHANGE
  
  // C++17 features
  #  define BOOST_NO_CXX17_STD_APPLY
  #  define BOOST_NO_CXX17_STD_INVOKE
  #  define BOOST_NO_CXX17_ITERATOR_TRAITS
  
  #define BOOST_STDLIB "Metrowerks Standard Library version " BOOST_STRINGIZE(__MSL_CPP__)