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