@@ -64,7 +64,7 @@ namespace Aws
64
64
{
65
65
m_data.reset (Aws::NewArray<T>(m_size, ARRAY_ALLOCATION_TAG));
66
66
67
- #ifdef _WIN32
67
+ #if defined( _WIN32) && !defined(__MINGW32__)
68
68
std::copy (arrayToCopy, arrayToCopy + arraySize, stdext::checked_array_iterator< T * >(m_data.get (), m_size));
69
69
#else
70
70
std::copy (arrayToCopy, arrayToCopy + arraySize, m_data.get ());
@@ -92,7 +92,7 @@ namespace Aws
92
92
if (arr->m_size > 0 && arr->m_data )
93
93
{
94
94
size_t arraySize = arr->m_size ;
95
- #ifdef _WIN32
95
+ #if defined( _WIN32) && !defined(__MINGW32__)
96
96
std::copy (arr->m_data .get (), arr->m_data .get () + arraySize, stdext::checked_array_iterator< T * >(m_data.get () + location, m_size));
97
97
#else
98
98
std::copy (arr->m_data .get (), arr->m_data .get () + arraySize, m_data.get () + location);
@@ -111,7 +111,7 @@ namespace Aws
111
111
{
112
112
m_data.reset (Aws::NewArray<T>(m_size, ARRAY_ALLOCATION_TAG));
113
113
114
- #ifdef _WIN32
114
+ #if defined( _WIN32) && !defined(__MINGW32__)
115
115
std::copy (other.m_data .get (), other.m_data .get () + other.m_size , stdext::checked_array_iterator< T * >(m_data.get (), m_size));
116
116
#else
117
117
std::copy (other.m_data .get (), other.m_data .get () + other.m_size , m_data.get ());
@@ -144,7 +144,7 @@ namespace Aws
144
144
{
145
145
m_data.reset (Aws::NewArray<T>(m_size, ARRAY_ALLOCATION_TAG));
146
146
147
- #ifdef _WIN32
147
+ #if defined( _WIN32) && !defined(__MINGW32__)
148
148
std::copy (other.m_data .get (), other.m_data .get () + other.m_size , stdext::checked_array_iterator< T * >(m_data.get (), m_size));
149
149
#else
150
150
std::copy (other.m_data .get (), other.m_data .get () + other.m_size , m_data.get ());
0 commit comments