Skip to content

Commit 1779c56

Browse files
committed
Platform: add a definition for std on Windows
This adds the c++ module for Windows to help further the C++ interop.
1 parent e611ea6 commit 1779c56

File tree

2 files changed

+543
-0
lines changed

2 files changed

+543
-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)