Skip to content

Commit 85b3c20

Browse files
committed
Use canImport instead if os(Linux)
1 parent 87867b2 commit 85b3c20

File tree

78 files changed

+97
-97
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+97
-97
lines changed

Sources/GISTools/Algorithms/Along.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if !os(Linux)
1+
#if canImport(CoreLocation)
22
import CoreLocation
33
#endif
44
import Foundation

Sources/GISTools/Algorithms/Area.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if !os(Linux)
1+
#if canImport(CoreLocation)
22
import CoreLocation
33
#endif
44
import Foundation

Sources/GISTools/Algorithms/Bearing.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if !os(Linux)
1+
#if canImport(CoreLocation)
22
import CoreLocation
33
#endif
44
import Foundation

Sources/GISTools/Algorithms/BooleanClockwise.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if !os(Linux)
1+
#if canImport(CoreLocation)
22
import CoreLocation
33
#endif
44
import Foundation

Sources/GISTools/Algorithms/BooleanCrosses.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if !os(Linux)
1+
#if canImport(CoreLocation)
22
import CoreLocation
33
#endif
44
import Foundation

Sources/GISTools/Algorithms/BooleanDisjoint.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if !os(Linux)
1+
#if canImport(CoreLocation)
22
import CoreLocation
33
#endif
44
import Foundation

Sources/GISTools/Algorithms/BooleanIntersects.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if !os(Linux)
1+
#if canImport(CoreLocation)
22
import CoreLocation
33
#endif
44
import Foundation

Sources/GISTools/Algorithms/BooleanOverlap.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if !os(Linux)
1+
#if canImport(CoreLocation)
22
import CoreLocation
33
#endif
44
import Foundation

Sources/GISTools/Algorithms/BooleanParallel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if !os(Linux)
1+
#if canImport(CoreLocation)
22
import CoreLocation
33
#endif
44
import Foundation

Sources/GISTools/Algorithms/BooleanPointInPolygon.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if !os(Linux)
1+
#if canImport(CoreLocation)
22
import CoreLocation
33
#endif
44
import Foundation

0 commit comments

Comments
 (0)