Merge pull request #1951 from DCubix/master

_stat64 doesn't seem to exist. use __stat64!
pull/1955/head
Kim Kulling 2018-05-09 09:56:35 +02:00 committed by GitHub
commit 24a5c123fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ bool DefaultIOSystem::Exists( const char* pFile) const
if (isUnicode) { if (isUnicode) {
MultiByteToWideChar(CP_UTF8, MB_PRECOMPOSED, pFile, -1, fileName16, PATHLIMIT); MultiByteToWideChar(CP_UTF8, MB_PRECOMPOSED, pFile, -1, fileName16, PATHLIMIT);
struct _stat64 filestat; struct __stat64 filestat;
if (0 != _wstat64(fileName16, &filestat)) { if (0 != _wstat64(fileName16, &filestat)) {
return false; return false;
} }