This patch allows cmocka to be run under windows 64-bit
In that system while the maximum word size is 64-bits, the
'unsigned long int' type is only 32-bits.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
diff --git a/include/cmocka.h b/include/cmocka.h
index 4be40ea..72d6ae2 100644
--- a/include/cmocka.h
+++ b/include/cmocka.h
@@ -71,7 +71,7 @@
typedef uintmax_t LargestIntegralType;
#else /* DOXGEN */
#ifndef LargestIntegralType
-# if __WORDSIZE == 64
+# if __WORDSIZE == 64 && !defined(_WIN64)
# define LargestIntegralType unsigned long int
# else
# define LargestIntegralType unsigned long long int