summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2024-07-07 16:45:48 -0400
committerSolomon Peachy <pizza@shaftnet.org>2024-07-07 16:45:48 -0400
commit07cf87419189f8730eff53bb74669856a42a2016 (patch)
tree7fb5848ed802513658ceed5f36addd6fe20ca95b
parentc51a9821e735b0944072b1a20f52ac7fed865a97 (diff)
downloadrockbox-07cf874191.tar.gz
rockbox-07cf874191.zip
simulator: Fix one set of errors, a new set crops up.
Change-Id: I86d6cbee8eec52f04e760b45ab849249ae7162c4
-rw-r--r--uisimulator/common/filesystem-sim.c2
-rw-r--r--uisimulator/common/sim_tasks.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/uisimulator/common/filesystem-sim.c b/uisimulator/common/filesystem-sim.c
index d3db25d02b..df914ebcd7 100644
--- a/uisimulator/common/filesystem-sim.c
+++ b/uisimulator/common/filesystem-sim.c
@@ -193,7 +193,7 @@ static inline int readdir_volume(struct dirstr_desc *dirstr,
/** Internal functions **/
-#ifdef HAVE_MULTIDRIVE
+#ifdef HAVE_HOTSWAP
/**
* Handle drive extraction by pretending the files' volumes no longer exist
* and invalidating their I/O for the remainder of their lifetimes as would
diff --git a/uisimulator/common/sim_tasks.c b/uisimulator/common/sim_tasks.c
index 3367982c27..e5646e62d3 100644
--- a/uisimulator/common/sim_tasks.c
+++ b/uisimulator/common/sim_tasks.c
@@ -51,7 +51,7 @@ enum {
#endif
};
-#ifdef HAVE_MULTIDRIVE
+#ifdef HAVE_HOTSWAP
extern void sim_ext_extracted(int drive);
#endif