summaryrefslogtreecommitdiff
path: root/firmware/target/hosted
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 /firmware/target/hosted
parent412e76b487e8c48e5ee086eac2f9b83dfb216096 (diff)
downloadrockbox-38b2648f488fc1d91daa1fcc6f615068f1e4fc9c.tar.gz
rockbox-38b2648f488fc1d91daa1fcc6f615068f1e4fc9c.zip
win32: Add a stub for os_modtime() to make sim builds happy
Change-Id: Iea90776df2a92777c8e07c5a6b6635b6734d6690
Diffstat (limited to 'firmware/target/hosted')
-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)
462 return rc; 462 return rc;
463} 463}
464 464
465int os_modtime(const char *path, time_t modtime)
466{
467 (void)path;
468 (void)modtime;
469 return 0;
470}
471
465void volume_size(IF_MV(int volume,) unsigned long *sizep, unsigned long *freep) 472void volume_size(IF_MV(int volume,) unsigned long *sizep, unsigned long *freep)
466{ 473{
467 ULARGE_INTEGER free = { .QuadPart = 0 }, 474 ULARGE_INTEGER free = { .QuadPart = 0 },