ソースを参照

_stat64 doesn't seem to exist. use __stat64!

Merely add an extra _ to the type name...
Diego Lopes 7 年 前
コミット
700c85bbfb
1 ファイル変更1 行追加1 行削除
  1. 1 1
      code/DefaultIOSystem.cpp

+ 1 - 1
code/DefaultIOSystem.cpp

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