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
|
#else
|
||||||
#if __APPLE__
|
#if __APPLE__
|
||||||
struct stat st {};
|
struct stat unix_st {};
|
||||||
if (fstat(handle_, &st) >= 0) {
|
if (fstat(handle_, &unix_st) >= 0) {
|
||||||
#else
|
#else
|
||||||
struct stat64 unix_st {};
|
struct stat64 unix_st {};
|
||||||
if (fstat64(handle_, &unix_st) >= 0) {
|
if (fstat64(handle_, &unix_st) >= 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user