Skip to content

Commit d4660ef

Browse files
committed
Windows: extend WinSDK module further
This extends the WinSDK modulemap to cover Winsock2 and IPHelp API Set. These are used in Foundation.
1 parent c12e556 commit d4660ef

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

stdlib/public/Platform/winsdk.modulemap

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111
//===----------------------------------------------------------------------===//
1212

1313
module WinSDK [system] [extern_c] {
14+
module WinSock2 {
15+
header "WinSock2.h"
16+
header "WS2tcpip.h"
17+
export *
18+
}
19+
1420
module core {
1521
// api-ms-win-core-errhandling-l1-1-0.dll
1622
module errhandling {
@@ -42,6 +48,11 @@ module WinSDK [system] [extern_c] {
4248
export *
4349
}
4450

51+
module iphlp {
52+
header "iphlpapi.h"
53+
export *
54+
}
55+
4556
// api-ms-win-core-libloader-l1-1-0.dll
4657
module libloader {
4758
header "libloaderapi.h"

0 commit comments

Comments
 (0)