Update Lua BitOp's stdint.h check for MSVC

based on 3ece3a3e3a
This commit is contained in:
goodusername123 2024-03-19 13:54:57 -05:00 committed by GitHub
parent a862e4290c
commit fa072c1d2c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -37,8 +37,8 @@ extern "C" {
#include "lauxlib.h"
}
#ifdef _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 __int32 int32_t;
typedef unsigned __int32 uint32_t;
typedef unsigned __int64 uint64_t;