Skip to content

Commit 3708e7b

Browse files
committed
WinSDK: extract Security submodule with winscard.h
Currently this header gets included into `WinSDK.WinSock2` via windows.h
1 parent 6c72664 commit 3708e7b

File tree

1 file changed

+23
-14
lines changed

1 file changed

+23
-14
lines changed

stdlib/public/Platform/winsdk.modulemap

Lines changed: 23 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -137,13 +137,6 @@ module WinSDK [system] {
137137
}
138138
}
139139

140-
module AuthZ {
141-
header "AuthZ.h"
142-
export *
143-
144-
link "AuthZ.Lib"
145-
}
146-
147140
module Controls {
148141
module CommCtrl {
149142
header "CommCtrl.h"
@@ -224,6 +217,29 @@ module WinSDK [system] {
224217
link "WinMM.Lib"
225218
}
226219

220+
module Security {
221+
module AuthZ {
222+
header "AuthZ.h"
223+
export *
224+
225+
link "AuthZ.Lib"
226+
}
227+
228+
module SmartCard {
229+
header "winscard.h"
230+
export *
231+
232+
link "winscard.lib"
233+
}
234+
235+
module WinCrypt {
236+
header "wincrypt.h"
237+
export *
238+
239+
link "Crypt32.Lib"
240+
}
241+
}
242+
227243
module Shell {
228244
header "ShlObj.h"
229245
export *
@@ -307,13 +323,6 @@ module WinSDK [system] {
307323
export *
308324
}
309325

310-
module WinCrypt {
311-
header "wincrypt.h"
312-
export *
313-
314-
link "Crypt32.Lib"
315-
}
316-
317326
module WinDNS {
318327
header "WinDNS.h"
319328
export *

0 commit comments

Comments
 (0)