diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2013-09-25 07:11:58 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2013-09-25 07:11:58 +0000 |
commit | 445eb3327b153da0fcb992b23a56189aa5231ced (patch) | |
tree | 52a659e4abb9d5e6d850cc4ed764ea71c88a898f /llvm/include/llvm-c | |
parent | 0ac6f9fc6ae5afcc1935638e2a7a3d2c4b150b4f (diff) | |
download | bcm5719-llvm-445eb3327b153da0fcb992b23a56189aa5231ced.tar.gz bcm5719-llvm-445eb3327b153da0fcb992b23a56189aa5231ced.zip |
Wrap the #include of <stdbool.h> in an #ifndef __cplusplus.
This should fix the MSVC build.
llvm-svn: 191357
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r-- | llvm/include/llvm-c/lto.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm-c/lto.h b/llvm/include/llvm-c/lto.h index 40110fddfc1..d960617fdc7 100644 --- a/llvm/include/llvm-c/lto.h +++ b/llvm/include/llvm-c/lto.h @@ -16,7 +16,9 @@ #ifndef LLVM_C_LTO_H #define LLVM_C_LTO_H +#ifndef __cplusplus #include <stdbool.h> +#endif #include <stddef.h> #include <unistd.h> |