projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3c7b3b
)
util.hashes: inttypes.h not available with MS Windows SDK, use MS specific __int32...
author
Waqas Hussain
<waqas20@gmail.com>
Mon, 13 May 2013 19:52:01 +0000
(15:52 -0400)
committer
Waqas Hussain
<waqas20@gmail.com>
Mon, 13 May 2013 19:52:01 +0000
(15:52 -0400)
util-src/hashes.c
patch
|
blob
|
history
diff --git
a/util-src/hashes.c
b/util-src/hashes.c
index 8f7d7140836f1ca030d08f33e728fefdc47bdb35..39737ae097bd505896063e115a59c4479f3d1578 100644
(file)
--- 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"