diff options
author | Waqas Hussain <waqas20@gmail.com> | 2013-05-13 15:52:01 -0400 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2013-05-13 15:52:01 -0400 |
commit | 39566a776058f1c805d33908c57e5347647b61ce (patch) | |
tree | c1bf8716d155ac4669aa6705ca60399f57c6351e | |
parent | c648e95217a4e33c4529c7732871d25c9363e29c (diff) | |
download | prosody-39566a776058f1c805d33908c57e5347647b61ce.tar.gz prosody-39566a776058f1c805d33908c57e5347647b61ce.zip |
util.hashes: inttypes.h not available with MS Windows SDK, use MS specific __int32 instead.
-rw-r--r-- | util-src/hashes.c | 5 |
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" |