comparison DEPENDENCIES/generic/include/boost/tr1/detail/config.hpp @ 101:c530137014c0

Update Boost headers (1.58.0)
author Chris Cannam
date Mon, 07 Sep 2015 11:12:49 +0100
parents 2665513ce2d3
children
comparison
equal deleted inserted replaced
100:793467b5e61c 101:c530137014c0
7 # define BOOST_TR1_DETAIL_CONFIG_HPP_INCLUDED 7 # define BOOST_TR1_DETAIL_CONFIG_HPP_INCLUDED
8 8
9 #include <cstddef> 9 #include <cstddef>
10 10
11 #if (defined(__GNUC__) && !(defined(linux) || defined(__linux) || defined(__linux__))) \ 11 #if (defined(__GNUC__) && !(defined(linux) || defined(__linux) || defined(__linux__))) \
12 || (!defined(__FreeBSD__) && defined(__GNUC__)) \
12 || (!defined(_AIX) && defined(__IBMCPP__) && (__IBMCPP__ >= 800)) 13 || (!defined(_AIX) && defined(__IBMCPP__) && (__IBMCPP__ >= 800))
13 // Disable use of #include_next on Linux as typically we are installed in a 14 // Disable use of #include_next on Linux as typically we are installed in a
14 // directory that is searched *after* the std lib include path. 15 // directory that is searched *after* the std lib include path.
15 #if !defined(BOOST_HAS_INCLUDE_NEXT) 16 #if !defined(BOOST_HAS_INCLUDE_NEXT)
16 # define BOOST_HAS_INCLUDE_NEXT 17 # define BOOST_HAS_INCLUDE_NEXT
46 #endif 47 #endif
47 48
48 #define BOOST_TR1_HEADER(name) <BOOST_TR1_PATH(name)> 49 #define BOOST_TR1_HEADER(name) <BOOST_TR1_PATH(name)>
49 50
50 // Can't use BOOST_WORKAROUND here, it leads to recursive includes: 51 // Can't use BOOST_WORKAROUND here, it leads to recursive includes:
51 #if (defined(__BORLANDC__) && (__BORLANDC__ <= 0x600)) || (defined(_MSC_VER) && (_MSC_VER < 1310)) 52 #if (defined(__BORLANDC__) && (__BORLANDC__ <= 0x600))
52 # define BOOST_TR1_USE_OLD_TUPLE 53 # define BOOST_TR1_USE_OLD_TUPLE
53 #endif 54 #endif
54 55
55 #ifdef __IBMCPP_TR1__ 56 #ifdef __IBMCPP_TR1__
56 // turn on support for everything: 57 // turn on support for everything:
135 // MSVC-9.0 defines a not-quite TR1 conforming hash 136 // MSVC-9.0 defines a not-quite TR1 conforming hash
136 // function object in <functional>, so we must define 137 // function object in <functional>, so we must define
137 // this here, in addition the feature pack for VC9 138 // this here, in addition the feature pack for VC9
138 // provides a more or less full TR1 implementation: 139 // provides a more or less full TR1 implementation:
139 // 140 //
140 # if defined(_HAS_TR1) && (_HAS_TR1 + 0) 141 # if (defined(_HAS_TR1) && (_HAS_TR1 + 0)) || (_CPPLIB_VER >= 540)
141 # define BOOST_HAS_TR1_ARRAY 142 # define BOOST_HAS_TR1_ARRAY
142 # define BOOST_HAS_TR1_REFERENCE_WRAPPER 143 # define BOOST_HAS_TR1_REFERENCE_WRAPPER
143 # define BOOST_HAS_TR1_RESULT_OF 144 # define BOOST_HAS_TR1_RESULT_OF
144 # define BOOST_HAS_TR1_MEM_FN 145 # define BOOST_HAS_TR1_MEM_FN
145 # define BOOST_HAS_TR1_BIND 146 # define BOOST_HAS_TR1_BIND
157 # define BOOST_HAS_TR1_HASH 158 # define BOOST_HAS_TR1_HASH
158 # endif 159 # endif
159 # if _MSC_VER >= 1600 160 # if _MSC_VER >= 1600
160 # define BOOST_HAS_CPP_0X 161 # define BOOST_HAS_CPP_0X
161 # endif 162 # endif
163 # if _MSC_VER >= 1700
164 # define BOOST_HAS_TR1_COMPLEX_OVERLOADS
165 # endif
162 #endif 166 #endif
163 167
164 #include <boost/config.hpp> 168 #include <boost/config.hpp>
165 169
166 #endif 170 #endif