commit | aca74f0e0d221a0dfe355adcdf0592bb64461df7 | [log] [tgz] |
---|---|---|
author | Peter Collingbourne <peter@pcc.me.uk> | Wed Sep 25 07:11:58 2013 +0000 |
committer | Peter Collingbourne <peter@pcc.me.uk> | Wed Sep 25 07:11:58 2013 +0000 |
tree | f83a55b6caf5ab74533e352763664146d1a071be | |
parent | 78099d11ffffee2f01fd06fc8d0904858acd5047 [diff] [blame] |
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
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>