aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/libcxx/include/__algorithm/reverse.h
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2024-02-07 14:58:02 +0000
committerDimitry Andric <dim@FreeBSD.org>2024-04-19 21:14:15 +0000
commitb9d9368bac6cf937f457507e98e875e56b1dd077 (patch)
treec27348c07b5d8c924d387539866ab64429cdcc63 /contrib/llvm-project/libcxx/include/__algorithm/reverse.h
parent905954429d1f6ccebb287379b66e1b58051be889 (diff)
Diffstat (limited to 'contrib/llvm-project/libcxx/include/__algorithm/reverse.h')
-rw-r--r--contrib/llvm-project/libcxx/include/__algorithm/reverse.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/llvm-project/libcxx/include/__algorithm/reverse.h b/contrib/llvm-project/libcxx/include/__algorithm/reverse.h
index 6bd0aa393280..4167c9116d96 100644
--- a/contrib/llvm-project/libcxx/include/__algorithm/reverse.h
+++ b/contrib/llvm-project/libcxx/include/__algorithm/reverse.h
@@ -19,6 +19,9 @@
# pragma GCC system_header
#endif
+_LIBCPP_PUSH_MACROS
+#include <__undef_macros>
+
_LIBCPP_BEGIN_NAMESPACE_STD
template <class _AlgPolicy, class _BidirectionalIterator>
@@ -54,4 +57,6 @@ reverse(_BidirectionalIterator __first, _BidirectionalIterator __last) {
_LIBCPP_END_NAMESPACE_STD
+_LIBCPP_POP_MACROS
+
#endif // _LIBCPP___ALGORITHM_REVERSE_H