Skip to content

Commit 42f79fb

Browse files
michael-yujijakepetroules
authored andcommitted
fix FreeBSD build
1 parent 0d68faa commit 42f79fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftDriver/Utilities/System.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func quoteArgument(_ argument: String) -> String {
5959
#endif
6060
}
6161

62-
#if canImport(Darwin) || os(Linux) || os(Android) || os(OpenBSD)
62+
#if canImport(Darwin) || os(Linux) || os(Android) || os(OpenBSD) || os(FreeBSD)
6363
// Adapted from llvm::sys::commandLineFitsWithinSystemLimits.
6464
func commandLineFitsWithinSystemLimits(path: String, args: [String]) -> Bool {
6565
let upperBound = sysconf(Int32(_SC_ARG_MAX))

0 commit comments

Comments
 (0)