From 719dcf500640f9b21eb4520744ff8e60d4b6d947 Mon Sep 17 00:00:00 2001 From: "Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)" Date: Wed, 8 May 2019 10:57:41 +0100 Subject: Add VS2019 support, improve discard() support on older Windows, support Outcome v2.1. --- test/tests/coroutines.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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 ready(false); -- cgit v1.2.3