Skip to content

Commit 9354fd9

Browse files
authored
Merge pull request #80200 from Steelskin/fabrice/restore-float-fenv-modules
Put float and stddef back inside the ucrt module
2 parents b658e73 + d5ea194 commit 9354fd9

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed

stdlib/public/Platform/ucrt.modulemap

+10-15
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,6 @@ module _complex [system] [no_undeclared_includes] {
2525
export *
2626
}
2727

28-
module _fenv [system] [no_undeclared_includes] {
29-
use corecrt
30-
use _float
31-
header "fenv.h"
32-
export *
33-
}
34-
35-
module _float [system] [no_undeclared_includes] {
36-
use corecrt
37-
header "float.h"
38-
export *
39-
}
40-
4128
module _stddef [system] [no_undeclared_includes] {
4229
header "stddef.h"
4330
export *
@@ -54,8 +41,6 @@ module ucrt [system] {
5441

5542
module C {
5643
export _complex
57-
export _fenv
58-
export _float
5944
export _stddef
6045
export _stdlib
6146

@@ -69,6 +54,16 @@ module ucrt [system] {
6954
export *
7055
}
7156

57+
module fenv {
58+
header "fenv.h"
59+
export *
60+
}
61+
62+
module float {
63+
header "float.h"
64+
export *
65+
}
66+
7267
module inttypes {
7368
header "inttypes.h"
7469
export *

0 commit comments

Comments
 (0)