diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2021-09-26 09:31:58 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2021-09-26 09:31:58 -0400 |
commit | 38b2648f488fc1d91daa1fcc6f615068f1e4fc9c (patch) | |
tree | b63707d675d739424af1a6144810f6fc9d661b7f /firmware/target | |
parent | 412e76b487e8c48e5ee086eac2f9b83dfb216096 (diff) |
win32: Add a stub for os_modtime() to make sim builds happy
Change-Id: Iea90776df2a92777c8e07c5a6b6635b6734d6690
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/hosted/filesystem-win32.c | 7 |
1 files changed, 7 insertions, 0 deletions
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 }, |