From effafd3e91a19934646d7919c262a48dd8c277f0 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Thu, 14 Dec 2023 13:51:48 -0600 Subject: [PATCH] fix --- src/utils/native_file.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/native_file.cpp b/src/utils/native_file.cpp index 0ccbd793..2b830db5 100644 --- a/src/utils/native_file.cpp +++ b/src/utils/native_file.cpp @@ -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) {