Add canImport(_Concurrency) for Xcode 13.0 (#2015)
This commit is contained in:
parent
b5c662adfc
commit
e123c216cc
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue