Files
main/programming/misc/boost/files/boost-move-std-ns-begin-fix-for-gcc15.patch
T
2025-10-22 23:34:44 +03:00

24 lines
813 B
Diff

diff -Nuar a/boost/move/detail/std_ns_begin.hpp b/boost/move/detail/std_ns_begin.hpp
--- a/boost/move/detail/std_ns_begin.hpp 2024-12-05 03:53:34.000000000 +0300
+++ b/boost/move/detail/std_ns_begin.hpp 2025-10-22 22:59:42.571774083 +0300
@@ -9,6 +9,9 @@
#//
#//////////////////////////////////////////////////////////////////////////////
#
+#ifndef BOOST_CONFIG_HPP
+# include <boost/config.hpp>
+#endif
#if defined(_LIBCPP_VERSION)
#if defined(__clang__)
#define BOOST_MOVE_STD_NS_GCC_DIAGNOSTIC_PUSH
@@ -26,6 +29,9 @@
#elif defined(BOOST_DINKUMWARE_STDLIB)
#define BOOST_MOVE_STD_NS_BEG _STD_BEGIN
#define BOOST_MOVE_STD_NS_END _STD_END
+#else
+ #define BOOST_MOVE_STD_NS_BEG namespace std {
+ #define BOOST_MOVE_STD_NS_END }
#endif
#if defined(_MSC_VER) && (_MSC_VER >= 1915)