diff options
author | Mike Pall <mike> | 2019-12-08 18:43:12 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2019-12-08 18:43:12 +0100 |
commit | 3ece3a3e3a448ecc54e317fd5743d1f4c19db28b (patch) | |
tree | 717c62d004d32a43b63cd65a97c4cfbec396295a /src | |
parent | c4e15b457e37a68b9c19cc139f3d24dc37c4490b (diff) | |
download | luajit-3ece3a3e3a448ecc54e317fd5743d1f4c19db28b.tar.gz luajit-3ece3a3e3a448ecc54e317fd5743d1f4c19db28b.tar.bz2 luajit-3ece3a3e3a448ecc54e317fd5743d1f4c19db28b.zip |
More recent MSVC is partially C99 compliant.
Diffstat (limited to 'src')
-rw-r--r-- | src/lj_def.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ | |||
8 | 8 | ||
9 | #include "lua.h" | 9 | #include "lua.h" |
10 | 10 | ||
11 | #if defined(_MSC_VER) | 11 | #if defined(_MSC_VER) && (_MSC_VER < 1700) |
12 | /* MSVC is stuck in the last century and doesn't have C99's stdint.h. */ | 12 | /* Old MSVC is stuck in the last century and doesn't have C99's stdint.h. */ |
13 | typedef __int8 int8_t; | 13 | typedef __int8 int8_t; |
14 | typedef __int16 int16_t; | 14 | typedef __int16 int16_t; |
15 | typedef __int32 int32_t; | 15 | typedef __int32 int32_t; |