Skip to content

Commit 29a0c01

Browse files
committed
Fix iOS buid
Looks like there's an iOS angle to the issue in #6414 as well which I hadn't noticed because I was accidentally building for macOS instead. (cherry picked from commit 970f792)
1 parent e5b90ae commit 29a0c01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Basics/Cancellator.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public final class Cancellator: Cancellable {
7373
// Terminate all processes on receiving an interrupt signal.
7474
try? self?.cancel(deadline: .now() + .seconds(30))
7575

76-
#if os(macOS) || targetEnvironment(macCatalyst) || os(OpenBSD)
76+
#if canImport(Darwin) || os(OpenBSD)
7777
// Install the default signal handler.
7878
var action = sigaction()
7979
action.__sigaction_u.__sa_handler = SIG_DFL

0 commit comments

Comments
 (0)