Skip to content

Commit b570887

Browse files
Update Sources/Testing/ExitTests/WaitFor.swift
Co-authored-by: Jonathan Grynspan <[email protected]>
1 parent 6e40578 commit b570887

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Testing/ExitTests/WaitFor.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ private let _childProcessContinuations = Locked<[pid_t: CheckedContinuation<Exit
8585
/// A condition variable used to suspend the waiter thread created by
8686
/// `_createWaitThread()` when there are no child processes to await.
8787
private nonisolated(unsafe) let _waitThreadNoChildrenCondition = {
88-
#if os(FreeBSD) || os(OpenBSD)
88+
#if os(FreeBSD)
8989
let result = UnsafeMutablePointer<pthread_cond_t?>.allocate(capacity: 1)
9090
#else
9191
let result = UnsafeMutablePointer<pthread_cond_t>.allocate(capacity: 1)

0 commit comments

Comments
 (0)