Skip to content

Commit 764d363

Browse files
committed
Update missed Windows API in #if conditional
1 parent 1dccb57 commit 764d363

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Sources/SwiftDocC/Infrastructure/External Data/OutOfProcessReferenceResolver.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,11 @@ private class LongRunningProcess: ExternalLinkResolving {
586586
fatalError("Cannot initialize an out of process resolver outside of macOS or Linux platforms.")
587587
}
588588

589-
func sendAndWait<Request: Codable & CustomStringConvertible, Response: Codable>(request: Request?) throws -> Response {
589+
func readInitialHandshakeMessage<Response: Decodable>() throws -> Response {
590+
fatalError("Cannot call sendAndWait in non macOS/Linux platform.")
591+
}
592+
593+
func sendAndWait<Request: Codable, Response: Codable>(request: Request) throws -> Response {
590594
fatalError("Cannot call sendAndWait in non macOS/Linux platform.")
591595
}
592596

0 commit comments

Comments
 (0)