Skip to content

Commit 8a682bf

Browse files
committed
Musl
1 parent 404798a commit 8a682bf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Sources/Mutex.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,13 @@ extension Mutex {
129129
}
130130
}
131131

132-
#elseif canImport(Glibc)
132+
#elseif canImport(Glibc) || canImport(Musl)
133133

134+
#if canImport(Musl)
135+
import Musl
136+
#else
134137
import Glibc
138+
#endif
135139

136140
extension Mutex {
137141

0 commit comments

Comments
 (0)