Skip to content

Commit b5e3301

Browse files
authored
MachPortTests: fix build issues with Swift 5.7
1 parent 3f66dfb commit b5e3301

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/SystemTests/MachPortTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
See https://swift.org/LICENSE.txt for license information
88
*/
99

10-
#if $MoveOnly && (os(macOS) || os(iOS) || os(watchOS) || os(tvOS))
10+
#if swift(>=5.8) && $MoveOnly && (os(macOS) || os(iOS) || os(watchOS) || os(tvOS))
1111

1212
import XCTest
1313
import Darwin.Mach

0 commit comments

Comments
 (0)