Commit 4be5a491 authored by ElenaSubbotina's avatar ElenaSubbotina

.

parent 4b4d4ebc
......@@ -676,9 +676,14 @@ namespace NSFile
}
bool CreateTempFile()
{
#if defined(_WIN32) || defined(_WIN32_WCE) || defined(_WIN64)
if (0 != tmpfile_s(&m_pFile))
return false;
#else
m_pFile = tmpfile();
if (NULL == m_pFile)
return false;
#endif
m_lFilePosition = 0;
return true;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment