blob: c4e1fb1847e3e66511575c5a3264a6ac79619e84 [file] [log] [blame]
Brian Silverman9d8fa392018-08-04 17:09:24 -07001// (C) Copyright John Maddock 2001 - 2002.
2// Use, modification and distribution are subject to the
3// Boost Software License, Version 1.0. (See accompanying file
4// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6// See http://www.boost.org for most recent version.
7
8#if __IBMCPP__ <= 501
9# define BOOST_NO_STD_ALLOCATOR
10#endif
11
12#define BOOST_HAS_MACRO_USE_FACET
13#define BOOST_NO_STD_MESSAGES
14
15// Apple doesn't seem to reliably defined a *unix* macro
16#if !defined(CYGWIN) && ( defined(__unix__) \
17 || defined(__unix) \
18 || defined(unix) \
19 || defined(__APPLE__) \
20 || defined(__APPLE) \
21 || defined(APPLE))
22# include <unistd.h>
23#endif
24
25// C++0x headers not yet implemented
26//
27# define BOOST_NO_CXX11_HDR_ARRAY
28# define BOOST_NO_CXX11_HDR_CHRONO
29# define BOOST_NO_CXX11_HDR_CODECVT
30# define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE
31# define BOOST_NO_CXX11_HDR_FORWARD_LIST
32# define BOOST_NO_CXX11_HDR_FUTURE
33# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST
34# define BOOST_NO_CXX11_HDR_MUTEX
35# define BOOST_NO_CXX11_HDR_RANDOM
36# define BOOST_NO_CXX11_HDR_RATIO
37# define BOOST_NO_CXX11_HDR_REGEX
38# define BOOST_NO_CXX11_HDR_SYSTEM_ERROR
39# define BOOST_NO_CXX11_HDR_THREAD
40# define BOOST_NO_CXX11_HDR_TUPLE
41# define BOOST_NO_CXX11_HDR_TYPE_TRAITS
42# define BOOST_NO_CXX11_HDR_TYPEINDEX
43# define BOOST_NO_CXX11_HDR_UNORDERED_MAP
44# define BOOST_NO_CXX11_HDR_UNORDERED_SET
45# define BOOST_NO_CXX11_NUMERIC_LIMITS
46# define BOOST_NO_CXX11_ALLOCATOR
47# define BOOST_NO_CXX11_POINTER_TRAITS
48# define BOOST_NO_CXX11_ATOMIC_SMART_PTR
49# define BOOST_NO_CXX11_SMART_PTR
50# define BOOST_NO_CXX11_HDR_FUNCTIONAL
51# define BOOST_NO_CXX11_HDR_ATOMIC
52# define BOOST_NO_CXX11_STD_ALIGN
53# define BOOST_NO_CXX11_ADDRESSOF
54
55#if defined(__has_include)
56#if !__has_include(<shared_mutex>)
57# define BOOST_NO_CXX14_HDR_SHARED_MUTEX
58#elif __cplusplus < 201402
59# define BOOST_NO_CXX14_HDR_SHARED_MUTEX
60#endif
61#else
62# define BOOST_NO_CXX14_HDR_SHARED_MUTEX
63#endif
64
65// C++14 features
66# define BOOST_NO_CXX14_STD_EXCHANGE
67
68// C++17 features
69# define BOOST_NO_CXX17_STD_APPLY
70# define BOOST_NO_CXX17_STD_INVOKE
71# define BOOST_NO_CXX17_ITERATOR_TRAITS
72
73#define BOOST_STDLIB "Visual Age default standard library"