aboutsummaryrefslogtreecommitdiffstats
path: root/util-src
diff options
context:
space:
mode:
Diffstat (limited to 'util-src')
-rw-r--r--util-src/hashes.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/util-src/hashes.c b/util-src/hashes.c
index 8f7d7140..39737ae0 100644
--- a/util-src/hashes.c
+++ b/util-src/hashes.c
@@ -15,7 +15,12 @@
#include <string.h>
#include <stdlib.h>
+
+#ifdef _MSC_VER
+typedef unsigned __int32 uint32_t;
+#else
#include <inttypes.h>
+#endif
#include "lua.h"
#include "lauxlib.h"