Skip to content

Commit f70b3ea

Browse files
authored
SwiftDocCUtilities: repair the Windows build (#693)
1 parent b2ab0f7 commit f70b3ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/SwiftDocCUtilities/Action/Actions/PreviewAction.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
See https://swift.org/CONTRIBUTORS.txt for Swift project authors
99
*/
1010

11-
#if canImport(NIOHTTP1)
1211
import Foundation
1312
import SwiftDocC
1413

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

@@ -262,6 +262,7 @@ extension PreviewAction {
262262
}
263263
}
264264
#endif
265+
#endif
265266

266267
extension DocumentationContext {
267268

@@ -283,4 +284,3 @@ extension DocumentationContext {
283284
}
284285
}
285286
}
286-
#endif

0 commit comments

Comments
 (0)