Skip to content

Commit f921077

Browse files
Fix compile error Swift 6/Linux (#93)
* Fix compile error Swift 6/Linux * Make it conditional
1 parent 6adee68 commit f921077

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Sources/IssueReporting/Internal/Warn.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1+
#if os(Linux)
2+
@preconcurrency import Foundation
3+
#else
14
import Foundation
5+
#endif
26

37
#if canImport(WinSDK)
48
import WinSDK

0 commit comments

Comments
 (0)