diff --git a/Sources/GoogleCloudLogging/GoogleCloudLogHandler.swift b/Sources/GoogleCloudLogging/GoogleCloudLogHandler.swift index 14dfe65..a04ba37 100644 --- a/Sources/GoogleCloudLogging/GoogleCloudLogHandler.swift +++ b/Sources/GoogleCloudLogging/GoogleCloudLogHandler.swift @@ -459,7 +459,7 @@ extension FileHandle { @discardableResult func legacySeekToEnd() throws -> UInt64 { - if #available(OSX 10.15, iOS 13.4, watchOS 6.2, tvOS 13.4, *) { + if #available(OSX 10.15.4, iOS 13.4, watchOS 6.2, tvOS 13.4, *) { return try seekToEnd() } else { return seekToEndOfFile() @@ -467,7 +467,7 @@ extension FileHandle { } func legacyWrite(contentsOf data: T) throws where T : DataProtocol { - if #available(OSX 10.15, iOS 13.4, watchOS 6.2, tvOS 13.4, *) { + if #available(OSX 10.15.4, iOS 13.4, watchOS 6.2, tvOS 13.4, *) { try write(contentsOf: data) } else { write(Data(data)) @@ -475,7 +475,7 @@ extension FileHandle { } func legacyReadToEnd() throws -> Data? { - if #available(OSX 10.15, iOS 13.4, watchOS 6.2, tvOS 13.4, *) { + if #available(OSX 10.15.4, iOS 13.4, watchOS 6.2, tvOS 13.4, *) { return try readToEnd() } else { return readDataToEndOfFile()