summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2021-09-26 09:31:58 -0400
committerSolomon Peachy <pizza@shaftnet.org>2021-09-26 09:31:58 -0400
commit38b2648f488fc1d91daa1fcc6f615068f1e4fc9c (patch)
treeb63707d675d739424af1a6144810f6fc9d661b7f
parent412e76b487e8c48e5ee086eac2f9b83dfb216096 (diff)
downloadrockbox-38b2648f48.tar.gz
rockbox-38b2648f48.zip
win32: Add a stub for os_modtime() to make sim builds happy
Change-Id: Iea90776df2a92777c8e07c5a6b6635b6734d6690
-rw-r--r--firmware/target/hosted/filesystem-win32.c7
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 },