Common/FileUtil: Fix incorrect (32-bit) stat struct being used on Windows, which was hidden by a define in CommonFuncs.h.

This commit is contained in:
Admiral H. Curtiss 2021-10-23 03:50:47 +02:00
parent 2a34b847e6
commit f972ddf32f
No known key found for this signature in database
GPG Key ID: F051B4C4044F33FB
1 changed files with 4 additions and 0 deletions

View File

@ -120,7 +120,11 @@ private:
void AndroidContentInit(const std::string& path); void AndroidContentInit(const std::string& path);
#endif #endif
#ifdef _WIN32
struct __stat64 m_stat;
#else
struct stat m_stat; struct stat m_stat;
#endif
bool m_exists; bool m_exists;
}; };