Skip to content

Commit 56b1e20

Browse files
committed
Use proper check for compiler instead of swift version for TerminationHandler
1 parent bd5fd23 commit 56b1e20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ProcessInvocation/ProcessInvocation.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1096,7 +1096,7 @@ class XcodeToolsProcessExtender : NSObject, SPITaskExtender {
10961096
still let clients use it. */
10971097
private class XcodeToolsProcess : Process, @unchecked Sendable {
10981098

1099-
#if swift(>=6)
1099+
#if compiler(>=6)
11001100
typealias TerminationHandler = (@Sendable (Process) -> Void)
11011101
#else
11021102
typealias TerminationHandler = ((Process) -> Void)

0 commit comments

Comments
 (0)