Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 28 additions & 11 deletions stdlib/public/Platform/ucrt.modulemap
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,40 @@
//
//===----------------------------------------------------------------------===//

module _complex [system] {
// The following modules have to be standalone top-level modules to deal with
// version 10.0.26100 of the Windows SDK.
module _malloc [system] [no_undeclared_includes] {
use corecrt
header "malloc.h"
export *
}

module _complex [system] [no_undeclared_includes] {
use corecrt
use std
header "complex.h"
export *
}

module _stddef [system] [no_undeclared_includes] {
header "stddef.h"
export *
}

module _stdlib [system] [no_undeclared_includes] {
use corecrt
header "stdlib.h"
export *
}

module ucrt [system] {
export _malloc

module C {
export _complex
export _stddef
export _stdlib

module ctype {
header "ctype.h"
export *
Expand Down Expand Up @@ -57,11 +84,6 @@ module ucrt [system] {
export *
}

module stddef {
header "stddef.h"
export *
}

module stdio {
header "stdio.h"
export *
Expand Down Expand Up @@ -132,11 +154,6 @@ module ucrt [system] {
export *
}

module malloc {
header "malloc.h"
export *
}

module minmax {
header "minmax.h"
export *
Expand Down