Skip to content

Commit 9765c78

Browse files
committed
Enable built-in withLock for Swift 6+ on Linux
1 parent 71c9544 commit 9765c78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/NSLock+Linux.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 os(Linux) && swift(<6.0)
22
import Foundation
33

44

0 commit comments

Comments
 (0)