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