diff options
Diffstat (limited to 'external/boost/boost.std.move.patch')
-rw-r--r-- | external/boost/boost.std.move.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/external/boost/boost.std.move.patch b/external/boost/boost.std.move.patch new file mode 100644 index 000000000000..83badae6c60a --- /dev/null +++ b/external/boost/boost.std.move.patch @@ -0,0 +1,20 @@ +--- foo/foo/foo/boost/config/compiler/clang.hpp ++++ foo/foo/foo/boost/config/compiler/clang.hpp +@@ -8,6 +8,8 @@ + + // Clang compiler setup. + ++#include <utility> ++ + #if !__has_feature(cxx_exceptions) && !defined(BOOST_NO_EXCEPTIONS) + # define BOOST_NO_EXCEPTIONS + #endif +@@ -108,7 +108,7 @@ + # define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX + #endif + +-#if !__has_feature(cxx_rvalue_references) ++#if !__has_feature(cxx_rvalue_references) || (defined(__APPLE__) && !defined(_LIBCPP_VERSION)) + # define BOOST_NO_CXX11_RVALUE_REFERENCES + #endif + |