Add canImport(Network) to NIOTSBootstraps.swift (#77)

This commit is contained in:
Adam Fowler 2020-04-03 18:16:51 +01:00 committed by GitHub
parent 409fddd45c
commit 8228db3917
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -12,6 +12,7 @@
//
//===----------------------------------------------------------------------===//
#if canImport(Network)
import NIO
/// Shared functionality across NIOTS bootstraps.
@ -21,3 +22,5 @@ internal enum NIOTSBootstraps {
return group is NIOTSEventLoop || group is NIOTSEventLoopGroup
}
}
#endif