Skip to content

Commit 0b30807

Browse files
committed
Musl
1 parent 2a5681e commit 0b30807

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Sources/AllocatedLock.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,13 @@ extension AllocatedLock {
167167
}
168168
}
169169

170-
#elseif canImport(Glibc)
170+
#elseif canImport(Glibc) || canImport(Musl)
171171

172+
#if canImport(Musl)
173+
import Musl
174+
#else
172175
import Glibc
176+
#endif
173177

174178
extension AllocatedLock {
175179
@usableFromInline

0 commit comments

Comments
 (0)