commit | 91cbcf9ed13f41e62ab3b3e991efd8bd577c28d2 | [log] [tgz] |
---|---|---|
author | Eugene Kliuchnikov <eustas@google.com> | Mon Jul 25 10:56:23 2016 +0200 |
committer | Eugene Kliuchnikov <eustas@google.com> | Mon Jul 25 10:56:23 2016 +0200 |
tree | 81f102b2d178a48db01eb1dd933372f15dff9062 | |
parent | 0ef4edacab4520c1fdc24f7e8b645c502c8025d5 [diff] |
Fix MSVC stdbool inclde
diff --git a/common/types.h b/common/types.h index 1a6aa62..4b050af 100644 --- a/common/types.h +++ b/common/types.h
@@ -24,7 +24,8 @@ #include <stdint.h> #endif /* defined(_MSC_VER) && (_MSC_VER < 1600) */ -#if defined(__cplusplus) || __STDC_VERSION__ >= 199901L +#if (!defined(_MSC_VER) || (_MSC_VER >= 1800)) && \ + (defined(__cplusplus) || __STDC_VERSION__ >= 199901L) #include <stdbool.h> #define BROTLI_BOOL bool #define BROTLI_TRUE true