summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2021-10-23 03:50:47 +0200
committerAdmiral H. Curtiss <pikachu025@gmail.com>2021-10-23 03:50:47 +0200
commitf972ddf32f91547fc4dfcb39796a055fea3cf41a (patch)
treebd0f5d5928336aedf459e0a0f9bb0449afa71e84 /Source/Core
parent2a34b847e6028e4b505eed60e0fc589942a4f34c (diff)
Common/FileUtil: Fix incorrect (32-bit) stat struct being used on Windows, which was hidden by a define in CommonFuncs.h.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Common/FileUtil.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/Common/FileUtil.h b/Source/Core/Common/FileUtil.h
index 9c1116943c..46bcdb150f 100644
--- a/Source/Core/Common/FileUtil.h
+++ b/Source/Core/Common/FileUtil.h
@@ -120,7 +120,11 @@ private:
void AndroidContentInit(const std::string& path);
#endif
+#ifdef _WIN32
+ struct __stat64 m_stat;
+#else
struct stat m_stat;
+#endif
bool m_exists;
};