1212
1313// The following modules have to be standalone top-level modules to deal with
1414// version 10.0.26100 of the Windows SDK.
15- module _malloc [system] [no_undeclared_includes] {
15+ module _complex [system] [no_undeclared_includes] {
1616 use corecrt
17- header "malloc.h"
17+ use std
18+ header "complex.h"
1819 export *
1920}
2021
21- module _complex [system] [no_undeclared_includes] {
22+ module _fenv [system] [no_undeclared_includes] {
23+ use _float
2224 use corecrt
23- use std
24- header "complex.h"
25+ header "fenv.h"
2526 export *
2627}
2728
28- module _stddef [system] [no_undeclared_includes] {
29- header "stddef.h"
29+ module _float [system] [no_undeclared_includes] {
30+ use corecrt
31+ header "float.h"
32+ export *
33+ }
34+
35+ module _malloc [system] [no_undeclared_includes] {
36+ use corecrt
37+ header "malloc.h"
3038 export *
3139}
3240
@@ -37,11 +45,12 @@ module _stdlib [system] [no_undeclared_includes] {
3745}
3846
3947module ucrt [system] {
40- export _malloc
4148
4249 module C {
4350 export _complex
44- export _stddef
51+ export _fenv
52+ export _float
53+ export _malloc
4554 export _stdlib
4655
4756 module ctype {
@@ -50,7 +59,7 @@ module ucrt [system] {
5059 }
5160
5261 module errno {
53- header "errno.h"
62+ textual header "errno.h"
5463 export *
5564 }
5665
@@ -74,6 +83,11 @@ module ucrt [system] {
7483 export *
7584 }
7685
86+ module malloc {
87+ header "malloc.h"
88+ export *
89+ }
90+
7791 module math {
7892 header "math.h"
7993 export *
@@ -84,6 +98,16 @@ module ucrt [system] {
8498 export *
8599 }
86100
101+ module stdalign {
102+ header "stdalign.h"
103+ export *
104+ }
105+
106+ module stddef {
107+ textual header "stddef.h"
108+ export *
109+ }
110+
87111 module stdio {
88112 header "stdio.h"
89113 export *
@@ -101,6 +125,11 @@ module ucrt [system] {
101125 export *
102126 }
103127
128+ module stdnoreturn {
129+ textual header "stdnoreturn.h"
130+ export *
131+ }
132+
104133 module string {
105134 header "string.h"
106135 export *
@@ -187,8 +216,14 @@ module corecrt [system] {
187216 export *
188217 }
189218
219+ module direct {
220+ header "corecrt_wdirect.h"
221+ export *
222+ }
223+
190224 module io {
191225 header "corecrt_io.h"
226+ header "corecrt_wio.h"
192227 export *
193228 }
194229
@@ -202,11 +237,36 @@ module corecrt [system] {
202237 export *
203238 }
204239
240+ module memory {
241+ header "corecrt_memory.h"
242+ export *
243+ }
244+
245+ module memcpy {
246+ header "corecrt_memcpy_s.h"
247+ export *
248+ }
249+
250+ module process {
251+ header "corecrt_wprocess.h"
252+ export *
253+ }
254+
255+ module search {
256+ header "corecrt_search.h"
257+ export *
258+ }
259+
205260 module share {
206261 header "corecrt_share.h"
207262 export *
208263 }
209264
265+ module ctype {
266+ header "corecrt_wctype.h"
267+ export *
268+ }
269+
210270 module stdio {
211271 header "corecrt_wstdio.h"
212272 export *
@@ -227,4 +287,3 @@ module corecrt [system] {
227287 export *
228288 }
229289}
230-
0 commit comments