VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Crypto
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2019-11-04 22:18:00 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-11-07 00:47:45 +0100
commitdc08b692401afdace6de02d81feb68cbf0752e12 (patch)
tree98adf5eb136c1e701b7d309d67a8f050afb65f4d /src/Crypto
parentce78f890174b107cec69d7388b9279b84f2b0a39 (diff)
downloadVeraCrypt-dc08b692401afdace6de02d81feb68cbf0752e12.tar.gz
VeraCrypt-dc08b692401afdace6de02d81feb68cbf0752e12.zip
Windows: fix driver build error caused by missing header
Diffstat (limited to 'src/Crypto')
-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