fix
All checks were successful
BlockStorage/repertory_osx_builds/pipeline/head This commit looks good
BlockStorage/repertory_linux_builds/pipeline/head This commit looks good

This commit is contained in:
Scott E. Graves 2023-12-14 13:51:48 -06:00
parent 5a61bdf2b0
commit effafd3e91

View File

@ -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) {