aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/libcxx/include/__algorithm/rotate.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:24:46 +0000
commit83e37ae556b23e8e91169c618618d28d83ddb61b (patch)
tree26f2fe38dd8324f921d42bce4db0d78353a528ee /contrib/llvm-project/libcxx/include/__algorithm/rotate.h
parentaf050415f0c5d1d2d0a22a45a7a8c964902399f7 (diff)
Diffstat (limited to 'contrib/llvm-project/libcxx/include/__algorithm/rotate.h')
-rw-r--r--contrib/llvm-project/libcxx/include/__algorithm/rotate.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/llvm-project/libcxx/include/__algorithm/rotate.h b/contrib/llvm-project/libcxx/include/__algorithm/rotate.h
index d8162b1a94b2..9a4d07883e32 100644
--- a/contrib/llvm-project/libcxx/include/__algorithm/rotate.h
+++ b/contrib/llvm-project/libcxx/include/__algorithm/rotate.h
@@ -23,6 +23,9 @@
# pragma GCC system_header
#endif
+_LIBCPP_PUSH_MACROS
+#include <__undef_macros>
+
_LIBCPP_BEGIN_NAMESPACE_STD
template <class _AlgPolicy, class _ForwardIterator>
@@ -190,4 +193,6 @@ rotate(_ForwardIterator __first, _ForwardIterator __middle, _ForwardIterator __l
_LIBCPP_END_NAMESPACE_STD
+_LIBCPP_POP_MACROS
+
#endif // _LIBCPP___ALGORITHM_ROTATE_H