Skip to content

Commit ed5bd2f

Browse files
committed
plutil: make plutil build on Windows
plutil uses the C runtime, make sure that we import `MSVCRT`.
1 parent f27b77b commit ed5bd2f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: Tools/plutil/main.swift

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ import SwiftFoundation
1212
#elseif os(Linux)
1313
import Foundation
1414
import Glibc
15+
#elseif os(Windows)
16+
import Foundation
17+
import MSVCRT
1518
#endif
1619

1720
func help() -> Int32 {

0 commit comments

Comments
 (0)