Skip to content

Commit 727de49

Browse files
committed
Wrap import os in canImport
1 parent 5ab0454 commit 727de49

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/SKSupport/LineTable.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
//===----------------------------------------------------------------------===//
1212

1313
import LSPLogging
14+
#if canImport(os)
1415
import os
16+
#endif
1517

1618
public struct LineTable: Hashable, Sendable {
1719
@usableFromInline

0 commit comments

Comments
 (0)