Attempt to fix stdint/cstdint modules try 2
llvm-svn: 287690
diff --git a/libcxx/include/module.modulemap b/libcxx/include/module.modulemap
index bcf4632d..ce126609 100644
--- a/libcxx/include/module.modulemap
+++ b/libcxx/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 {