mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-01 12:18:15 +00:00
#alias type declarations; core library additions; _global import name for the global scope
This commit is contained in:
+1
-1
@@ -7954,7 +7954,7 @@ gbFileTime gb_file_last_write_time(char const *filepath) {
|
||||
time_t result = 0;
|
||||
struct stat file_stat;
|
||||
|
||||
if (stat(filepath, &file_stat)) {
|
||||
if (stat(filepath, &file_stat) == 0) {
|
||||
result = file_stat.st_mtime;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user