From 970ccf043bb678bc7147151837e0f5eb97f9dbdc Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 11 Nov 2022 19:30:47 +0100 Subject: [PATCH] util/SortList: enable the std::predicate kludge for macOS as well Sigh. --- src/util/SortList.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/SortList.hxx b/src/util/SortList.hxx index 0e13511b1..42817340c 100644 --- a/src/util/SortList.hxx +++ b/src/util/SortList.hxx @@ -43,7 +43,7 @@ template constexpr void MergeList(List &dest, List &src, -#ifndef ANDROID +#if !defined(ANDROID) && !defined(__APPLE__) /* Android NDK r25b has no std::predicate */ std::predicate #endif @@ -89,7 +89,7 @@ MergeList(List &dest, List &src, template constexpr void SortList(List &list, -#ifndef ANDROID +#if !defined(ANDROID) && !defined(__APPLE__) /* Android NDK r25b has no std::predicate */ std::predicate #endif