aboutsummaryrefslogtreecommitdiffstats
path: root/util-src
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2013-05-13 15:52:01 -0400
committerWaqas Hussain <waqas20@gmail.com>2013-05-13 15:52:01 -0400
commit7a1bd13e64cd25ea15b19a2b72a7bde1c16bf754 (patch)
treec1bf8716d155ac4669aa6705ca60399f57c6351e /util-src
parentf25e2229448953fb99d05a2006f14859efdd05ba (diff)
downloadprosody-7a1bd13e64cd25ea15b19a2b72a7bde1c16bf754.tar.gz
prosody-7a1bd13e64cd25ea15b19a2b72a7bde1c16bf754.zip
util.hashes: inttypes.h not available with MS Windows SDK, use MS specific __int32 instead.
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"