From 38b2648f488fc1d91daa1fcc6f615068f1e4fc9c Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sun, 26 Sep 2021 09:31:58 -0400 Subject: win32: Add a stub for os_modtime() to make sim builds happy Change-Id: Iea90776df2a92777c8e07c5a6b6635b6734d6690 --- firmware/target/hosted/filesystem-win32.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/firmware/target/hosted/filesystem-win32.c b/firmware/target/hosted/filesystem-win32.c index be95134cc9..fac10d003b 100644 --- a/firmware/target/hosted/filesystem-win32.c +++ b/firmware/target/hosted/filesystem-win32.c @@ -462,6 +462,13 @@ int os_relate(const char *ospath1, const char *ospath2) return rc; } +int os_modtime(const char *path, time_t modtime) +{ + (void)path; + (void)modtime; + return 0; +} + void volume_size(IF_MV(int volume,) unsigned long *sizep, unsigned long *freep) { ULARGE_INTEGER free = { .QuadPart = 0 }, -- cgit v1.2.3