Skip to content

Commit 19a0eaa

Browse files
authored
Windows: add conio and corecrt.conio
This adds `conio` and `corecrt.conio` modules to the ucrt modulemap to expose these interfaces to Swift. Fixes: swiftlang#63024
1 parent 07db94b commit 19a0eaa

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

stdlib/public/Platform/ucrt.modulemap

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,11 @@ module ucrt [system] {
115115
}
116116
}
117117

118+
module conio {
119+
header "conio.h"
120+
export *
121+
}
122+
118123
module process {
119124
header "process.h"
120125
export *
@@ -138,6 +143,11 @@ module corecrt [system] {
138143
header "corecrt_stdio_config.h"
139144
export *
140145

146+
module conio {
147+
header "corecrt_wconio.h"
148+
export *
149+
}
150+
141151
module io {
142152
header "corecrt_io.h"
143153
export *

0 commit comments

Comments
 (0)