Skip to content

Commit

Permalink
SwiftDocCUtilities: repair the Windows build (#693)
Browse files Browse the repository at this point in the history
  • Loading branch information
compnerd committed Aug 11, 2023
1 parent b2ab0f7 commit f70b3ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/SwiftDocCUtilities/Action/Actions/PreviewAction.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
See https://swift.org/CONTRIBUTORS.txt for Swift project authors
*/

#if canImport(NIOHTTP1)
import Foundation
import SwiftDocC

#if canImport(NIOHTTP1)
/// A preview server instance.
var servers: [String: PreviewServer] = [:]

Expand Down Expand Up @@ -262,6 +262,7 @@ extension PreviewAction {
}
}
#endif
#endif

extension DocumentationContext {

Expand All @@ -283,4 +284,3 @@ extension DocumentationContext {
}
}
}
#endif

0 comments on commit f70b3ea

Please sign in to comment.