From 72033a4a35bdd180be6ae04c9142764326071e1d Mon Sep 17 00:00:00 2001 From: Nico Sonack Date: Mon, 12 Jul 2021 19:09:42 +0200 Subject: [PATCH] Fix Windows CompareFileTime --- nobuild.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nobuild.h b/nobuild.h index 9a8a347..0e556c8 100644 --- a/nobuild.h +++ b/nobuild.h @@ -1042,7 +1042,7 @@ int is_path1_modified_after_path2(const char *path1, const char *path2) } fd_close(path2_fd); - return CompareFileTime(&path1, &path2) == -1; + return CompareFileTime(&path1_time, &path2_time) == 1; #else struct stat statbuf = {0};