Skip to content

Commit

Permalink
Use official C++ 20 coroutine feature test macro
Browse files Browse the repository at this point in the history
__cpp_coroutines is no longer defined by clang starting at clang 17
  • Loading branch information
jb-gcx committed Jul 8, 2024
1 parent 9a74ee9 commit 36c027e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion support-lib/cpp/Future.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include <cassert>
#include <exception>

#ifdef __cpp_coroutines
#if defined(__cpp_coroutines) || defined(__cpp_impl_coroutine)
#if __has_include(<coroutine>)
#include <coroutine>
namespace djinni::detail {
Expand Down

0 comments on commit 36c027e

Please sign in to comment.