diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2019-05-08 12:57:41 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2019-05-08 12:57:41 +0300 |
commit | 719dcf500640f9b21eb4520744ff8e60d4b6d947 (patch) | |
tree | c5ba72991159f801eb121f50cdd76b367c947c45 /test | |
parent | d1f4429d43448daf0b79a6b414aff7c4ad12356b (diff) |
Add VS2019 support, improve discard() support on older Windows, support Outcome v2.1.
Diffstat (limited to 'test')
-rw-r--r-- | test/tests/coroutines.cpp | 4 |
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); |