summaryrefslogtreecommitdiff
path: root/validat1.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-05-11 12:05:57 -0400
committerJeffrey Walton <noloader@gmail.com>2017-05-11 12:05:57 -0400
commit537ee61ade03ee00fa394426319ec6869c0762d3 (patch)
treee383b9e810407985ca6d273a0d0b10757105f2d5 /validat1.cpp
parentaa287d6112514c7c150047faa732c28f1ac76595 (diff)
downloadcryptopp-git-537ee61ade03ee00fa394426319ec6869c0762d3.tar.gz
Switch to _MSC_FULL_VER for SP1 releases
Diffstat (limited to 'validat1.cpp')
-rw-r--r--validat1.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/validat1.cpp b/validat1.cpp
index e81a46c6..d8703731 100644
--- a/validat1.cpp
+++ b/validat1.cpp
@@ -60,7 +60,7 @@
#include "validate.h"
// Aggressive stack checking with VS2005 SP1 and above.
-#if (CRYPTOPP_MSC_VERSION >= 1410)
+#if (_MSC_FULL_VER >= 140050727)
# pragma strict_gs_check (on)
#endif
@@ -209,7 +209,7 @@ bool TestSettings()
word32 w;
const byte s[] = "\x01\x02\x03\x04";
-#if (CRYPTOPP_MSC_VERSION >= 1410)
+#if (_MSC_FULL_VER >= 140050727)
std::copy(s, s+4,
stdext::make_checked_array_iterator(reinterpret_cast<byte*>(&w), sizeof(w)));
#else