Skip to content

Commit 62b56f3

Browse files
committed
WinSDK: extract Controls submodule
Currently commdlg.h gets included into `WinSDK.WinSock2`, however its usages might not be related to sockets
1 parent e9650cf commit 62b56f3

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

stdlib/public/Platform/winsdk.modulemap

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,18 @@ module WinSDK [system] {
134134
link "AuthZ.Lib"
135135
}
136136

137-
module CommCtrl {
138-
header "CommCtrl.h"
139-
export *
137+
module Controls {
138+
module CommCtrl {
139+
header "CommCtrl.h"
140+
export *
141+
}
142+
143+
module CommDlg {
144+
header "commdlg.h"
145+
export *
146+
147+
link "Comdlg32.lib"
148+
}
140149
}
141150

142151
// FIXME(compnerd) this is a hack for the HWND typedef for DbgHelp

0 commit comments

Comments
 (0)