VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-05-24 05:33:07 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-05-24 05:34:13 (GMT)
commit3f806010d2e2d54f0b5bc796f2d5e506e66537c7 (patch)
tree2a8f43044c2462340dd84329dbbe6b41f81a657b
parent94fdcdf18b9ed18401be71e7c2465b0b23611036 (diff)
downloadVeraCrypt-3f806010d2e2d54f0b5bc796f2d5e506e66537c7.zip
VeraCrypt-3f806010d2e2d54f0b5bc796f2d5e506e66537c7.tar.gz
Windows: fix detection of Visual Studio version to activate assembly optimizations.
-rw-r--r--src/Crypto/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Crypto/config.h b/src/Crypto/config.h
index da9276d..2dde3d0 100644
--- a/src/Crypto/config.h
+++ b/src/Crypto/config.h
@@ -38,6 +38,10 @@
#endif
#endif
+#if defined(_MSC_VER) && (_MSC_VER > 1200)
+ #define CRYPTOPP_MSVC6PP_OR_LATER
+#endif
+
#ifndef CRYPTOPP_ALIGN_DATA
#if defined(_MSC_VER)
#define CRYPTOPP_ALIGN_DATA(x) __declspec(align(x))