Skip to content

Commit 5857afe

Browse files
authored
Merge pull request swiftlang#83726 from edymtt/edymtt/use-darwin-os-lock-in-distributed
2 parents 2c5fdec + eab6531 commit 5857afe

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Runtimes/Supplemental/Distributed/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,7 @@ target_link_libraries(swiftDistributed PRIVATE
143143
swift_Concurrency
144144
swift_Builtin_float
145145
$<$<PLATFORM_ID:Android>:swiftAndroid>
146-
$<$<PLATFORM_ID:Windows>:swiftWinSDK>
147-
$<$<PLATFORM_ID:Darwin>:swiftDarwin>)
146+
$<$<PLATFORM_ID:Windows>:swiftWinSDK>)
148147

149148
install(TARGETS swiftDistributed
150149
EXPORT SwiftDistributedTargets

stdlib/public/Distributed/LocalTestingDistributedActorSystem.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212

1313
import Swift
1414

15-
#if canImport(Darwin)
16-
import Darwin
15+
#if canImport(Darwin.os.lock)
16+
import Darwin.os.lock
1717
#elseif canImport(Glibc)
1818
import Glibc
1919
#elseif canImport(Musl)

0 commit comments

Comments
 (0)