VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Crypto/jitterentropy-base.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Crypto/jitterentropy-base.c b/src/Crypto/jitterentropy-base.c
index 241ea304..c3856b41 100644
--- a/src/Crypto/jitterentropy-base.c
+++ b/src/Crypto/jitterentropy-base.c
@@ -51,7 +51,12 @@
/* Adapted for VeraCrypt */
+
+#ifdef TC_WINDOWS_DRIVER
+#define UINT64_MAX 0xffffffffffffffffU
+#else
#include <stdint.h>
+#endif
#undef _FORTIFY_SOURCE