diff --git a/Sources/NIO/Channel.swift b/Sources/NIO/Channel.swift index e8fddf8db..4f5d11d32 100644 --- a/Sources/NIO/Channel.swift +++ b/Sources/NIO/Channel.swift @@ -44,7 +44,7 @@ final class PendingWrite { } } -#if swift(>=4.0) +#if swift(>=3.2) /* workaround for https://bugs.swift.org/browse/SR-5106 */ func doPendingWriteVectorOperation(pending: PendingWrite?, count: Int, iovecs: UnsafeMutableBufferPointer, _ fn: (UnsafeBufferPointer) -> Int) -> Int { return withoutActuallyEscaping(fn) { fn in