Skip to content

Commit f43d45d

Browse files
authored
Merge pull request #3107 from xymus/pthread_mutex_t-is-from-cdispatch
Prefer the pthread types from CDispatch
2 parents 34887cb + 3c390df commit f43d45d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Sources/Foundation/NSLock.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ public protocol NSLocking {
2222
func unlock()
2323
}
2424

25-
#if canImport(Glibc)
26-
typealias pthread_mutex_t = Glibc.pthread_mutex_t
27-
typealias pthread_cond_t = Glibc.pthread_cond_t
28-
#endif
29-
3025
#if os(Windows)
3126
private typealias _MutexPointer = UnsafeMutablePointer<SRWLOCK>
3227
private typealias _RecursiveMutexPointer = UnsafeMutablePointer<CRITICAL_SECTION>

0 commit comments

Comments
 (0)