util/SortList: enable the std::predicate kludge for macOS as well

Sigh.
This commit is contained in:
Max Kellermann 2022-11-11 19:30:47 +01:00
parent 0c92c12adf
commit 970ccf043b

View File

@ -43,7 +43,7 @@
template<typename List>
constexpr void
MergeList(List &dest, List &src,
#ifndef ANDROID
#if !defined(ANDROID) && !defined(__APPLE__)
/* Android NDK r25b has no std::predicate */
std::predicate<typename List::const_reference, typename List::const_reference>
#endif
@ -89,7 +89,7 @@ MergeList(List &dest, List &src,
template<typename List>
constexpr void
SortList(List &list,
#ifndef ANDROID
#if !defined(ANDROID) && !defined(__APPLE__)
/* Android NDK r25b has no std::predicate */
std::predicate<typename List::const_reference, typename List::const_reference>
#endif