From f21d901cf1a23907de3720904555263d907c19b4 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sat, 28 Nov 2020 00:58:46 +1000 Subject: [PATCH] Common/FileSystem: Fix macOS build --- src/common/file_system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/file_system.cpp b/src/common/file_system.cpp index fba362cce..e3da145c8 100644 --- a/src/common/file_system.cpp +++ b/src/common/file_system.cpp @@ -1322,7 +1322,7 @@ static u32 RecursiveFindFiles(const char* OriginPath, const char* ParentPath, co } outData.Size = static_cast(sDir.st_size); - outData.ModificationTime.SetUnixTimestamp(static_cast(sDir.st_mtim.tv_sec)); + outData.ModificationTime.SetUnixTimestamp(static_cast(sDir.st_mtime)); // match the filename if (hasWildCards)