Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/tests/coroutines.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tests/coroutines.cpp b/test/tests/coroutines.cpp
index e6a09b6a..08727bbc 100644
--- a/test/tests/coroutines.cpp
+++ b/test/tests/coroutines.cpp
@@ -28,7 +28,7 @@ Distributed under the Boost Software License, Version 1.0.
static inline void TestAsyncFileHandleCoroutines()
{
-#ifdef __cpp_coroutines
+#if LLFIO_HAVE_COROUTINES
//! [coroutines_example]
namespace llfio = LLFIO_V2_NAMESPACE;
@@ -88,7 +88,7 @@ static inline void TestAsyncFileHandleCoroutines()
static inline void TestPostSelfToRunCoroutines()
{
-#ifdef __cpp_coroutines
+#if LLFIO_HAVE_COROUTINES
namespace llfio = LLFIO_V2_NAMESPACE;
llfio::io_service service;
std::atomic<bool> ready(false);