diff --git a/Sources/System/MachPort.swift b/Sources/System/MachPort.swift index 8cc05096..452fd5ae 100644 --- a/Sources/System/MachPort.swift +++ b/Sources/System/MachPort.swift @@ -1,13 +1,13 @@ /* This source file is part of the Swift System open source project - Copyright (c) 2022 Apple Inc. and the Swift System project authors + Copyright (c) 2022 - 2025 Apple Inc. and the Swift System project authors Licensed under Apache License v2.0 with Runtime Library Exception See https://swift.org/LICENSE.txt for license information */ -#if swift(>=5.9) && SYSTEM_PACKAGE_DARWIN +#if SYSTEM_PACKAGE_DARWIN import Darwin.Mach diff --git a/Tests/SystemTests/MachPortTests.swift b/Tests/SystemTests/MachPortTests.swift index 073da9a5..a1c85a4a 100644 --- a/Tests/SystemTests/MachPortTests.swift +++ b/Tests/SystemTests/MachPortTests.swift @@ -1,13 +1,13 @@ /* This source file is part of the Swift System open source project - Copyright (c) 2022 Apple Inc. and the Swift System project authors + Copyright (c) 2022 - 2025 Apple Inc. and the Swift System project authors Licensed under Apache License v2.0 with Runtime Library Exception See https://swift.org/LICENSE.txt for license information */ -#if swift(>=5.9) && SYSTEM_PACKAGE_DARWIN +#if SYSTEM_PACKAGE_DARWIN import XCTest import Darwin.Mach