From: Mike Pall Date: Sun, 8 Dec 2019 17:43:12 +0000 (+0100) Subject: More recent MSVC is partially C99 compliant. X-Git-Tag: v2.1.ROLLING~294^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ece3a3e3a448ecc54e317fd5743d1f4c19db28b;p=thirdparty%2FLuaJIT.git More recent MSVC is partially C99 compliant. --- diff --git a/src/lj_def.h b/src/lj_def.h index 21cc59a4..c7600d33 100644 --- a/src/lj_def.h +++ b/src/lj_def.h @@ -8,8 +8,8 @@ #include "lua.h" -#if defined(_MSC_VER) -/* MSVC is stuck in the last century and doesn't have C99's stdint.h. */ +#if defined(_MSC_VER) && (_MSC_VER < 1700) +/* Old MSVC is stuck in the last century and doesn't have C99's stdint.h. */ typedef __int8 int8_t; typedef __int16 int16_t; typedef __int32 int32_t;