diff --git a/Sources/Testing/Support/Additions/CommandLineAdditions.swift b/Sources/Testing/Support/Additions/CommandLineAdditions.swift index 0fda59839..57d9851a8 100644 --- a/Sources/Testing/Support/Additions/CommandLineAdditions.swift +++ b/Sources/Testing/Support/Additions/CommandLineAdditions.swift @@ -14,7 +14,7 @@ extension CommandLine { /// The path to the current process' executable. static var executablePath: String { get throws { -#if os(macOS) +#if SWT_TARGET_OS_APPLE var result: String? #if DEBUG var bufferCount = UInt32(1) // force looping