From be80e469de5bde46c142213eabdda25ed2bf9b74 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 10 Sep 2024 17:01:21 +0200 Subject: [PATCH] co/Compat: drop __APPLE__ check Xcode 15.4 complains that does not exist. --- src/co/Compat.hxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/co/Compat.hxx b/src/co/Compat.hxx index 62e89ac0..9d2ebfa2 100644 --- a/src/co/Compat.hxx +++ b/src/co/Compat.hxx @@ -6,11 +6,9 @@ #include -#if defined(_LIBCPP_VERSION) && defined(__clang__) && (__clang_major__ < 14 || defined(__APPLE__)) +#if defined(_LIBCPP_VERSION) && defined(__clang__) && __clang_major__ < 14 /* libc++ until 14 has the coroutine definitions in the std::experimental namespace */ -/* the standard header is also missing in the Android NDK and on Apple - Xcode, even though LLVM upstream has them */ #include