Skip to content

Commit 715f1ec

Browse files
author
Alex Taffe
authored
Move WinUSB out of OS core
1 parent 7ea15d5 commit 715f1ec

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

stdlib/public/Platform/winsdk.modulemap

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,6 @@ module WinSDK [system] {
129129
header "timezoneapi.h"
130130
export *
131131
}
132-
133-
// api-ms-win-core-usb-l1-1-0.dll
134-
module usb {
135-
header "winusb.h"
136-
export *
137-
}
138132

139133
// api-ms-win-core-version-l1-1-0.dll
140134
module version {
@@ -491,6 +485,13 @@ module WinSDK [system] {
491485

492486
link "AdvAPI32.Lib"
493487
}
488+
489+
module WinUSB {
490+
header "winusb.h"
491+
export *
492+
493+
link "winusb.lib"
494+
}
494495

495496
// TODO(compnerd) does it make sense to implicitly export this API surface?
496497
// It seems to be meant for device drivers.

0 commit comments

Comments
 (0)