Skip to content
Permalink
Browse files
Merge pull request #10183 from AdmiralCurtiss/stat64
Common/FileUtil: Fix incorrect (32-bit) stat struct being used on Windows, which was hidden by a define in CommonFuncs.h.
  • Loading branch information
lioncash committed Oct 23, 2021
2 parents 2a34b84 + f972ddf commit 52823c6
Showing 1 changed file with 4 additions and 0 deletions.
@@ -120,7 +120,11 @@ class FileInfo final
void AndroidContentInit(const std::string& path);
#endif

#ifdef _WIN32
struct __stat64 m_stat;
#else
struct stat m_stat;
#endif
bool m_exists;
};

0 comments on commit 52823c6

Please sign in to comment.