diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-05-24 07:33:07 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-05-24 07:34:13 +0200 |
commit | 3f806010d2e2d54f0b5bc796f2d5e506e66537c7 (patch) | |
tree | 2a8f43044c2462340dd84329dbbe6b41f81a657b /src | |
parent | 94fdcdf18b9ed18401be71e7c2465b0b23611036 (diff) | |
download | VeraCrypt-3f806010d2e2d54f0b5bc796f2d5e506e66537c7.tar.gz VeraCrypt-3f806010d2e2d54f0b5bc796f2d5e506e66537c7.zip |
Windows: fix detection of Visual Studio version to activate assembly optimizations.
Diffstat (limited to 'src')
-rw-r--r-- | src/Crypto/config.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Crypto/config.h b/src/Crypto/config.h index da9276db..2dde3d0e 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)) |