More recent MSVC is partially C99 compliant.

This commit is contained in:
Mike Pall 2019-12-08 18:43:12 +01:00
parent c4e15b457e
commit 3ece3a3e3a

View File

@ -8,8 +8,8 @@
#include "lua.h" #include "lua.h"
#if defined(_MSC_VER) #if defined(_MSC_VER) && (_MSC_VER < 1700)
/* MSVC is stuck in the last century and doesn't have C99's stdint.h. */ /* Old MSVC is stuck in the last century and doesn't have C99's stdint.h. */
typedef __int8 int8_t; typedef __int8 int8_t;
typedef __int16 int16_t; typedef __int16 int16_t;
typedef __int32 int32_t; typedef __int32 int32_t;