Merge pull request #100 from mclow/patch-2

BOOST_NO_CXX17_STD_INVOKE for libc++
This commit is contained in:
jzmaddock
2016-11-26 17:38:03 +00:00
committed by GitHub

View File

@ -73,8 +73,11 @@
#if _LIBCPP_VERSION < 3700 #if _LIBCPP_VERSION < 3700
// libc++ uses a non-standard messages_base // libc++ uses a non-standard messages_base
#define BOOST_NO_STD_MESSAGES #define BOOST_NO_STD_MESSAGES
#endif
// C++17 features // C++17 features
#define BOOST_NO_CXX17_STD_INVOKE #if (_LIBCPP_VERSION < 3700) || (__cplusplus <= 201402L)
# define BOOST_NO_CXX17_STD_INVOKE
#endif #endif
#if (_LIBCPP_VERSION <= 1101) && !defined(BOOST_NO_CXX11_THREAD_LOCAL) #if (_LIBCPP_VERSION <= 1101) && !defined(BOOST_NO_CXX11_THREAD_LOCAL)