Skip to content

Commit

Permalink
[libc++] Add missing <stdbool.h> to the modulemap
Browse files Browse the repository at this point in the history
It used to be defined by the compiler, but libc++ now provides it.

Differential Revision: https://reviews.llvm.org/D131201
  • Loading branch information
ldionne committed Aug 8, 2022
1 parent e36f9e1 commit 0a5c344
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libcxx/include/module.modulemap.in
Expand Up @@ -59,7 +59,10 @@ module std [system] {
// FIXME: <stdalign.h> is missing.
// <signal.h> provided by C library.
// <stdarg.h> provided by compiler.
// <stdbool.h> provided by compiler.
module stdbool_h {
// <stdbool.h>'s __bool_true_false_are_defined macro requires textual inclusion.
textual header "stdbool.h"
}
module stddef_h {
// <stddef.h>'s __need_* macros require textual inclusion.
textual header "stddef.h"
Expand Down

0 comments on commit 0a5c344

Please sign in to comment.