]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
More recent MSVC is partially C99 compliant.
authorMike Pall <mike>
Sun, 8 Dec 2019 17:43:12 +0000 (18:43 +0100)
committerMike Pall <mike>
Sun, 8 Dec 2019 17:43:12 +0000 (18:43 +0100)
src/lj_def.h

index 21cc59a4f5ac17d6cea8634ca03f3ff6656923c9..c7600d33ce6cf39ae98b89c01198fa41c9aa009d 100644 (file)
@@ -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;