Attempt to fix stdint/cstdint modules try 2
llvm-svn: 287690
Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: 7216b6bc3834ff5495d887946f0c5369fb5d27ba
diff --git a/include/module.modulemap b/include/module.modulemap
index bcf4632..ce12660 100644
--- a/include/module.modulemap
+++ b/include/module.modulemap
@@ -45,7 +45,13 @@
// <stddef.h>'s __need_* macros require textual inclusion.
textual header "stddef.h"
}
- // FIXME: <stdint.h> is missing.
+ module stdint_h {
+ header "stdint.h"
+ export *
+ // FIXME: This module only exists on OS X and for some reason the
+ // wildcard above doesn't export it.
+ export Darwin.C.stdint
+ }
module stdio_h {
// <stdio.h>'s __need_* macros require textual inclusion.
textual header "stdio.h"
@@ -158,6 +164,7 @@
}
module cstdint {
header "cstdint"
+ export depr.stdint_h
export *
}
module cstdio {