Imported Upstream version 1.72.0
[platform/upstream/boost.git] / boost / config / stdlib / vacpp.hpp
1 //  (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 #  define BOOST_NO_CXX11_HDR_EXCEPTION
55
56 #if defined(__has_include)
57 #if !__has_include(<shared_mutex>)
58 #  define BOOST_NO_CXX14_HDR_SHARED_MUTEX
59 #elif __cplusplus < 201402
60 #  define BOOST_NO_CXX14_HDR_SHARED_MUTEX
61 #endif
62 #else
63 #  define BOOST_NO_CXX14_HDR_SHARED_MUTEX
64 #endif
65
66 // C++14 features
67 #  define BOOST_NO_CXX14_STD_EXCHANGE
68
69 // C++17 features
70 #  define BOOST_NO_CXX17_STD_APPLY
71 #  define BOOST_NO_CXX17_STD_INVOKE
72 #  define BOOST_NO_CXX17_ITERATOR_TRAITS
73
74 #define BOOST_STDLIB "Visual Age default standard library"