summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/cmocka.h2
1 files changed, 1 insertions, 1 deletions
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 @@ int __stdcall IsDebuggerPresent();
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