Fix compile on Visual Studio 2005 without serve packs
parent
5c3532597a
commit
874f79c320
|
|
@ -3024,7 +3024,7 @@ Integer::Integer(const byte *encodedInteger, size_t byteCount, Signedness s, Byt
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
SecByteBlock block(byteCount);
|
SecByteBlock block(byteCount);
|
||||||
#if (_MSC_FULL_VER >= 140050727)
|
#if (_MSC_VER >= 1500)
|
||||||
std::reverse_copy(encodedInteger, encodedInteger+byteCount,
|
std::reverse_copy(encodedInteger, encodedInteger+byteCount,
|
||||||
stdext::make_checked_array_iterator(block.begin(), block.size()));
|
stdext::make_checked_array_iterator(block.begin(), block.size()));
|
||||||
#else
|
#else
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
||||||
// Aggressive stack checking with VS2005 SP1 and above.
|
// Aggressive stack checking with VS2005 SP1 and above.
|
||||||
#if (_MSC_FULL_VER >= 140050727)
|
#if (_MSC_VER >= 1500)
|
||||||
# pragma strict_gs_check (on)
|
# pragma strict_gs_check (on)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue