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 | aca74f0e0d221a0dfe355adcdf0592bb64461df7 (patch) | |
tree | f83a55b6caf5ab74533e352763664146d1a071be /include/llvm-c | |
parent | 78099d11ffffee2f01fd06fc8d0904858acd5047 (diff) | |
download | external_llvm-aca74f0e0d221a0dfe355adcdf0592bb64461df7.zip external_llvm-aca74f0e0d221a0dfe355adcdf0592bb64461df7.tar.gz external_llvm-aca74f0e0d221a0dfe355adcdf0592bb64461df7.tar.bz2 |
Wrap the #include of <stdbool.h> in an #ifndef __cplusplus.
This should fix the MSVC build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191357 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c')
-rw-r--r-- | include/llvm-c/lto.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm-c/lto.h b/include/llvm-c/lto.h index 40110fd..d960617 100644 --- a/include/llvm-c/lto.h +++ b/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> |