summaryrefslogtreecommitdiffstats
path: root/libcxx/include/module.modulemap
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-11-22 20:05:19 +0000
committerEric Fiselier <eric@efcs.ca>2016-11-22 20:05:19 +0000
commit7216b6bc3834ff5495d887946f0c5369fb5d27ba (patch)
treebbc680109dd253e06e2ea1c09b4afff018c5c386 /libcxx/include/module.modulemap
parent069dd06592104003c934e4aba9533fd30199936c (diff)
downloadbcm5719-llvm-7216b6bc3834ff5495d887946f0c5369fb5d27ba.tar.gz
bcm5719-llvm-7216b6bc3834ff5495d887946f0c5369fb5d27ba.zip
Attempt to fix stdint/cstdint modules try 2
llvm-svn: 287690
Diffstat (limited to 'libcxx/include/module.modulemap')
-rw-r--r--libcxx/include/module.modulemap9
1 files changed, 8 insertions, 1 deletions
diff --git a/libcxx/include/module.modulemap b/libcxx/include/module.modulemap
index bcf4632d854..ce126609dc0 100644
--- a/libcxx/include/module.modulemap
+++ b/libcxx/include/module.modulemap
@@ -45,7 +45,13 @@ module std [system] {
// <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 std [system] {
}
module cstdint {
header "cstdint"
+ export depr.stdint_h
export *
}
module cstdio {
OpenPOWER on IntegriCloud