Fix compile on Visual Studio 2005 without serve packs

This commit is contained in:
Jeffrey Walton 2018-08-20 05:35:34 -04:00
parent 5c3532597a
commit 874f79c320
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
2 changed files with 2 additions and 2 deletions

View File

@ -3024,7 +3024,7 @@ Integer::Integer(const byte *encodedInteger, size_t byteCount, Signedness s, Byt
else
{
SecByteBlock block(byteCount);
#if (_MSC_FULL_VER >= 140050727)
#if (_MSC_VER >= 1500)
std::reverse_copy(encodedInteger, encodedInteger+byteCount,
stdext::make_checked_array_iterator(block.begin(), block.size()));
#else

View File

@ -26,7 +26,7 @@
#include <sstream>
// Aggressive stack checking with VS2005 SP1 and above.
#if (_MSC_FULL_VER >= 140050727)
#if (_MSC_VER >= 1500)
# pragma strict_gs_check (on)
#endif