From c0b11160826d0920c63e3ffaf639877086538515 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Mon, 20 Aug 2018 15:22:48 -0400 Subject: [PATCH] Fix compile on Visual Studio 2005 without service packs --- validat3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validat3.cpp b/validat3.cpp index e1706bb2..3cc46615 100644 --- a/validat3.cpp +++ b/validat3.cpp @@ -201,7 +201,7 @@ bool TestSettings() word32 w; const byte s[] = "\x01\x02\x03\x04"; -#if (_MSC_FULL_VER >= 140050727) +#if (_MSC_VER >= 1500) std::copy(s, s+4, stdext::make_checked_array_iterator(reinterpret_cast(&w), sizeof(w))); #else