VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Crypto/cpu.h
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2019-08-26 00:48:18 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-08-26 00:50:25 +0200
commit2ab57bcf7074449a1088dbffac4e221eadc24631 (patch)
tree337363d3923b07b26f699d495521f87582aa52df /src/Crypto/cpu.h
parentaeaf4bd02523a9ef1fe4bcd7b01d8d0b4eaf2c60 (diff)
downloadVeraCrypt-2ab57bcf7074449a1088dbffac4e221eadc24631.tar.gz
VeraCrypt-2ab57bcf7074449a1088dbffac4e221eadc24631.zip
Windows: fix compilation error of legacy MBR bootloader caused by missing intrin.h header
Diffstat (limited to 'src/Crypto/cpu.h')
-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 ee8c16a8..28296e86 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" {