Fix compile on Visual Studio 2005 without service packs
parent
cb5795482d
commit
c0b1116082
|
|
@ -201,7 +201,7 @@ bool TestSettings()
|
||||||
word32 w;
|
word32 w;
|
||||||
const byte s[] = "\x01\x02\x03\x04";
|
const byte s[] = "\x01\x02\x03\x04";
|
||||||
|
|
||||||
#if (_MSC_FULL_VER >= 140050727)
|
#if (_MSC_VER >= 1500)
|
||||||
std::copy(s, s+4,
|
std::copy(s, s+4,
|
||||||
stdext::make_checked_array_iterator(reinterpret_cast<byte*>(&w), sizeof(w)));
|
stdext::make_checked_array_iterator(reinterpret_cast<byte*>(&w), sizeof(w)));
|
||||||
#else
|
#else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue