Skip to content

Commit

Permalink
Merge pull request #176 from jb-gcx/gcx/coroutine-feature-test
Browse files Browse the repository at this point in the history
Use official C++ 20 coroutine feature test macro
  • Loading branch information
li-feng-sc authored Jul 15, 2024
2 parents cc8190a + 36c027e commit 4b57d4a
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 4b57d4a

Please sign in to comment.