Skip to content

Commit 48b926a

Browse files
committed
Merge branch 'fix/frizlab/compilation_old_platforms_again' into develop
2 parents 70ae578 + 5f727d7 commit 48b926a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/JSONLoggerTests/Helpers/FileHandleHelper.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ private let system_close = close
1616
extension FileHandle {
1717

1818
func jl_close() throws {
19-
if #available(macOS 10.15, *) {
19+
if #available(macOS 10.15, tvOS 13.0, iOS 13.0, watchOS 6.0, *) {
2020
try close()
2121
} else {
2222
#if !os(Windows)
@@ -32,7 +32,7 @@ extension FileHandle {
3232
}
3333

3434
func jl_readToEnd() throws -> Data? {
35-
if #available(macOS 10.15, tvOS 13.0, iOS 13.0, watchOS 6.0, *) {
35+
if #available(macOS 10.15.4, tvOS 13.4, iOS 13.4, watchOS 6.2, *) {
3636
#if swift(>=5.2) || !canImport(Darwin)
3737
return try readToEnd()
3838
#elseif !os(Windows)

0 commit comments

Comments
 (0)