From 3f806010d2e2d54f0b5bc796f2d5e506e66537c7 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Tue, 24 May 2016 07:33:07 +0200 Subject: Windows: fix detection of Visual Studio version to activate assembly optimizations. --- src/Crypto/config.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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)) -- cgit v1.2.3