From 9d7a9995dcc546af3779de439b4dc4b117d82084 Mon Sep 17 00:00:00 2001 From: Gilbert Liu Date: Wed, 8 May 2024 19:57:35 -0700 Subject: [PATCH] Add __cpp_impl_coroutine check for LLVM-17 in a test --- cmake/coro_test_code.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/coro_test_code.cpp b/cmake/coro_test_code.cpp index 4bb125b5e9..77fbf04fc4 100644 --- a/cmake/coro_test_code.cpp +++ b/cmake/coro_test_code.cpp @@ -1,4 +1,4 @@ -#if defined(__cpp_coroutines) && defined(__has_include) +#if (defined(__cpp_coroutines) || defined(__cpp_impl_coroutine)) && defined(__has_include) #if __has_include() #include namespace std_coro = std;