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 @@ typedef __int64 int64_t; #include #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 #define BROTLI_BOOL bool #define BROTLI_TRUE true