aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/__algorithm/adjacent_find.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/__algorithm/adjacent_find.h')
-rw-r--r--libcxx/include/__algorithm/adjacent_find.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libcxx/include/__algorithm/adjacent_find.h b/libcxx/include/__algorithm/adjacent_find.h
index 30df4a976f3d..7819e2cf49b9 100644
--- a/libcxx/include/__algorithm/adjacent_find.h
+++ b/libcxx/include/__algorithm/adjacent_find.h
@@ -20,6 +20,9 @@
# pragma GCC system_header
#endif
+_LIBCPP_PUSH_MACROS
+#include <__undef_macros>
+
_LIBCPP_BEGIN_NAMESPACE_STD
template <class _Iter, class _Sent, class _BinaryPredicate>
@@ -50,4 +53,6 @@ adjacent_find(_ForwardIterator __first, _ForwardIterator __last) {
_LIBCPP_END_NAMESPACE_STD
+_LIBCPP_POP_MACROS
+
#endif // _LIBCPP___ALGORITHM_ADJACENT_FIND_H