Fix stdio module build on OS X
authorEric Fiselier <eric@efcs.ca>
Tue, 6 Dec 2016 07:40:46 +0000 (07:40 +0000)
committerEric Fiselier <eric@efcs.ca>
Tue, 6 Dec 2016 07:40:46 +0000 (07:40 +0000)
llvm-svn: 288778

libcxx/include/module.modulemap

index 04b38dc..13fa499 100644 (file)
@@ -56,6 +56,7 @@ module std [system] {
       // <stdio.h>'s __need_* macros require textual inclusion.
       textual header "stdio.h"
       export *
+      export Darwin.C.stdio
     }
     module stdlib_h {
       // <stdlib.h>'s __need_* macros require textual inclusion.
@@ -192,6 +193,7 @@ module std [system] {
     // FIXME: <cuchar> is missing.
     module cwchar {
       header "cwchar"
+      export depr.stdio_h
       export *
     }
     module cwctype {