VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2019-08-25 22:48:18 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-08-25 22:50:25 (GMT)
commit2ab57bcf7074449a1088dbffac4e221eadc24631 (patch)
tree337363d3923b07b26f699d495521f87582aa52df
parentaeaf4bd02523a9ef1fe4bcd7b01d8d0b4eaf2c60 (diff)
downloadVeraCrypt-master.zip
VeraCrypt-master.tar.gz
Windows: fix compilation error of legacy MBR bootloader caused by missing intrin.h headerHEADmaster
-rw-r--r--src/Crypto/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Crypto/cpu.h b/src/Crypto/cpu.h
index ee8c16a..28296e8 100644
--- a/src/Crypto/cpu.h
+++ b/src/Crypto/cpu.h
@@ -25,7 +25,7 @@
#define ATT_NOPREFIX
#endif
-#ifdef _MSC_VER
+#if defined (_MSC_VER) && !defined (TC_WINDOWS_BOOT)
#if defined(TC_WINDOWS_DRIVER) || defined (_UEFI)
#if defined(__cplusplus)
extern "C" {