fix
This commit is contained in:
parent
5a61bdf2b0
commit
effafd3e91
@ -200,8 +200,8 @@ auto native_file::get_file_size(std::uint64_t &file_size) -> bool {
|
||||
}
|
||||
#else
|
||||
#if __APPLE__
|
||||
struct stat st {};
|
||||
if (fstat(handle_, &st) >= 0) {
|
||||
struct stat unix_st {};
|
||||
if (fstat(handle_, &unix_st) >= 0) {
|
||||
#else
|
||||
struct stat64 unix_st {};
|
||||
if (fstat64(handle_, &unix_st) >= 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user