office-gobmx/external/boost/boost.std.move.patch
Caolán McNamara 350fa6154c bump boost from 1.54 to 1.55
Change-Id: I5c9d01fa1be54b81f2aedead5f55ae737fb25d5a
2014-01-07 15:59:24 +00:00

20 lines
558 B
Diff

--- foo/foo/foo/boost/config/compiler/clang.hpp
+++ foo/foo/foo/boost/config/compiler/clang.hpp
@@ -10,6 +10,8 @@
#define BOOST_HAS_PRAGMA_ONCE
+#include <utility>
+
#if !__has_feature(cxx_exceptions) && !defined(BOOST_NO_EXCEPTIONS)
# define BOOST_NO_EXCEPTIONS
#endif
@@ -128,7 +130,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