Changeset

5576:7656b9f06bb5

util.hashes: inttypes.h not available with MS Windows SDK, use MS specific __int32 instead.
author Waqas Hussain <waqas20@gmail.com>
date Mon, 13 May 2013 15:52:01 -0400
parents 5573:ca9f99f7dcbc
children 5577:8b09b0d068d4
files util-src/hashes.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/util-src/hashes.c	Sat May 11 13:54:02 2013 +0100
+++ b/util-src/hashes.c	Mon May 13 15:52:01 2013 -0400
@@ -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"