Skip to content

Commit

Permalink
co/Compat: drop __APPLE__ check
Browse files Browse the repository at this point in the history
Xcode 15.4 complains that <experimental/coroutine> does not exist.
  • Loading branch information
MaxKellermann committed Sep 10, 2024
1 parent 30452c3 commit be80e46
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/co/Compat.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@

#include <utility>

#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 <experimental/coroutine>

Expand Down

0 comments on commit be80e46

Please sign in to comment.