|
@@ -3898,7 +3898,7 @@ struct FileStat {
|
|
|
|
|
|
|
|
private:
|
|
private:
|
|
|
#if defined(_WIN32)
|
|
#if defined(_WIN32)
|
|
|
- struct _stat st_;
|
|
|
|
|
|
|
+ struct _stat64 st_;
|
|
|
#else
|
|
#else
|
|
|
struct stat st_;
|
|
struct stat st_;
|
|
|
#endif
|
|
#endif
|
|
@@ -6464,7 +6464,7 @@ inline bool is_path_within_base(const std::string &resolved_path,
|
|
|
inline FileStat::FileStat(const std::string &path) {
|
|
inline FileStat::FileStat(const std::string &path) {
|
|
|
#if defined(_WIN32)
|
|
#if defined(_WIN32)
|
|
|
auto wpath = u8string_to_wstring(path.c_str());
|
|
auto wpath = u8string_to_wstring(path.c_str());
|
|
|
- ret_ = _wstat(wpath.c_str(), &st_);
|
|
|
|
|
|
|
+ ret_ = _wstat64(wpath.c_str(), &st_);
|
|
|
#else
|
|
#else
|
|
|
ret_ = stat(path.c_str(), &st_);
|
|
ret_ = stat(path.c_str(), &st_);
|
|
|
#endif
|
|
#endif
|