From 36c027ea36085e5bc8ef7c6f6a17abe9e3b0bc82 Mon Sep 17 00:00:00 2001 From: Jan Buenker Date: Mon, 8 Jul 2024 16:44:22 +0200 Subject: [PATCH] Use official C++ 20 coroutine feature test macro __cpp_coroutines is no longer defined by clang starting at clang 17 --- support-lib/cpp/Future.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support-lib/cpp/Future.hpp b/support-lib/cpp/Future.hpp index dede703d..6207d6e9 100644 --- a/support-lib/cpp/Future.hpp +++ b/support-lib/cpp/Future.hpp @@ -25,7 +25,7 @@ #include #include -#ifdef __cpp_coroutines +#if defined(__cpp_coroutines) || defined(__cpp_impl_coroutine) #if __has_include() #include namespace djinni::detail {