summaryrefslogtreecommitdiff
path: root/firmware/target/hosted/filesystem-win32.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2024-07-19 18:39:52 -0400
committerSolomon Peachy <pizza@shaftnet.org>2024-07-19 18:42:11 -0400
commit87ef6bb9e1c32e6a79a04bdc787ace568848520e (patch)
tree78f39c2f096dc46a58ac45892b5753259d8cc5b9 /firmware/target/hosted/filesystem-win32.c
parent6af637645aa30088500ee8dcac3f4d5f596dabce (diff)
downloadrockbox-87ef6bb9e1c32e6a79a04bdc787ace568848520e.tar.gz
rockbox-87ef6bb9e1c32e6a79a04bdc787ace568848520e.zip
hosted: Don't unconditionally pull in mv.h on hosted environments
It causes some conflicts in plugins with the upcoming 64-bit storage enablement Change-Id: Ia8615c5266c2b29216a05a8d85c3da5186c98d1c
Diffstat (limited to 'firmware/target/hosted/filesystem-win32.c')
-rw-r--r--firmware/target/hosted/filesystem-win32.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/hosted/filesystem-win32.c b/firmware/target/hosted/filesystem-win32.c
index fac10d003b..ded73b619f 100644
--- a/firmware/target/hosted/filesystem-win32.c
+++ b/firmware/target/hosted/filesystem-win32.c
@@ -30,6 +30,7 @@
30#include "debug.h" 30#include "debug.h"
31#include "pathfuncs.h" 31#include "pathfuncs.h"
32#include "string-extra.h" 32#include "string-extra.h"
33#include "mv.h"
33 34
34#define SAME_FILE_INFO(lpInfo1, lpInfo2) \ 35#define SAME_FILE_INFO(lpInfo1, lpInfo2) \
35 ((lpInfo1)->dwVolumeSerialNumber == (lpInfo2)->dwVolumeSerialNumber && \ 36 ((lpInfo1)->dwVolumeSerialNumber == (lpInfo2)->dwVolumeSerialNumber && \
@@ -469,6 +470,8 @@ int os_modtime(const char *path, time_t modtime)
469 return 0; 470 return 0;
470} 471}
471 472
473int os_volume_path(IF_MV(int volume, ) char *buffer, size_t bufsize);
474
472void volume_size(IF_MV(int volume,) unsigned long *sizep, unsigned long *freep) 475void volume_size(IF_MV(int volume,) unsigned long *sizep, unsigned long *freep)
473{ 476{
474 ULARGE_INTEGER free = { .QuadPart = 0 }, 477 ULARGE_INTEGER free = { .QuadPart = 0 },