aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/__ranges/reverse_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/__ranges/reverse_view.h')
-rw-r--r--libcxx/include/__ranges/reverse_view.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libcxx/include/__ranges/reverse_view.h b/libcxx/include/__ranges/reverse_view.h
index f7846259810c..ddbe8908414f 100644
--- a/libcxx/include/__ranges/reverse_view.h
+++ b/libcxx/include/__ranges/reverse_view.h
@@ -33,6 +33,9 @@
# pragma GCC system_header
#endif
+_LIBCPP_PUSH_MACROS
+#include <__undef_macros>
+
_LIBCPP_BEGIN_NAMESPACE_STD
#if _LIBCPP_STD_VER >= 20
@@ -196,4 +199,6 @@ inline constexpr auto reverse = __reverse::__fn{};
_LIBCPP_END_NAMESPACE_STD
+_LIBCPP_POP_MACROS
+
#endif // _LIBCPP___RANGES_REVERSE_VIEW_H