Skip to content

Commit

Permalink
Fix import FoundationEssentials
Browse files Browse the repository at this point in the history
  • Loading branch information
fpseverino committed Sep 29, 2024
1 parent 18eac81 commit 8c30bda
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// swift-tools-version:5.8
import PackageDescription
#if canImport(Darwin)
#if canImport(Darwin) || swift(<6.0)
import Foundation
#else
import FoundationEssentials
Expand Down
2 changes: 1 addition & 1 deletion Sources/Zip/ArchiveFile.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if canImport(Darwin)
#if canImport(Darwin) || swift(<6.0)
import Foundation
#else
import FoundationEssentials
Expand Down
2 changes: 1 addition & 1 deletion Sources/Zip/Date+dosDate.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if canImport(Darwin)
#if canImport(Darwin) || swift(<6.0)
import Foundation
#else
import FoundationEssentials
Expand Down
2 changes: 1 addition & 1 deletion Sources/Zip/QuickZip.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2016 Roy Marmelstein. All rights reserved.
//

#if canImport(Darwin)
#if canImport(Darwin) || swift(<6.0)
import Foundation
#else
import FoundationEssentials
Expand Down
2 changes: 1 addition & 1 deletion Sources/Zip/Zip.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2015 Roy Marmelstein. All rights reserved.
//

#if canImport(Darwin)
#if canImport(Darwin) || swift(<6.0)
import Foundation
#else
import FoundationEssentials
Expand Down
2 changes: 1 addition & 1 deletion Sources/Zip/ZipError.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if canImport(Darwin)
#if canImport(Darwin) || swift(<6.0)
import Foundation
#else
import FoundationEssentials
Expand Down
2 changes: 1 addition & 1 deletion Sources/Zip/ZipUtilities.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2016 Roy Marmelstein. All rights reserved.
//

#if canImport(Darwin)
#if canImport(Darwin) || swift(<6.0)
import Foundation
#else
import FoundationEssentials
Expand Down

0 comments on commit 8c30bda

Please sign in to comment.