From e123c216cc4431c9c34bc720bfdb0a3fb2fe1d54 Mon Sep 17 00:00:00 2001 From: Fabian Fett Date: Mon, 20 Dec 2021 16:12:50 +0100 Subject: [PATCH] Add canImport(_Concurrency) for Xcode 13.0 (#2015) --- Sources/NIOCore/AsyncAwaitSupport+OldXcodes.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/NIOCore/AsyncAwaitSupport+OldXcodes.swift b/Sources/NIOCore/AsyncAwaitSupport+OldXcodes.swift index b67b375c4..6535e8772 100644 --- a/Sources/NIOCore/AsyncAwaitSupport+OldXcodes.swift +++ b/Sources/NIOCore/AsyncAwaitSupport+OldXcodes.swift @@ -12,7 +12,7 @@ // //===----------------------------------------------------------------------===// -#if compiler(>=5.5) && !compiler(>=5.5.2) +#if compiler(>=5.5) && !compiler(>=5.5.2) && canImport(_Concurrency) extension EventLoopFuture { /// Get the value/error from an `EventLoopFuture` in an `async` context.