Skip to content

Commit b16e6d3

Browse files
authored
Merge pull request #59767 from compnerd/cxx
Platform: add a definition for `std` on Windows
2 parents 9736869 + f57fe44 commit b16e6d3

File tree

2 files changed

+545
-0
lines changed

2 files changed

+545
-0
lines changed

stdlib/public/Platform/ucrt.modulemap

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
module ucrt [system] {
1414
module C {
1515
module complex {
16+
/* disallow the header in C++ mode as it forwards to `ccomplex`. */
17+
requires !cplusplus
18+
1619
header "complex.h"
1720
export *
1821
}

0 commit comments

Comments
 (0)