summaryrefslogtreecommitdiffstats
path: root/apps/misc.h
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-11-25 22:54:36 +0000
committerThomas Martitz <kugel@rockbox.org>2009-11-25 22:54:36 +0000
commitcfda097394d752fde3b75ec2561ba752cd682e54 (patch)
treee7e8c59e2ae0937b5b50d8c005984d3431a06c00 /apps/misc.h
parent6c62b1bf3d0279c0b1270e897307ae7c45924608 (diff)
downloadrockbox-cfda097394d752fde3b75ec2561ba752cd682e54.tar.gz
rockbox-cfda097394d752fde3b75ec2561ba752cd682e54.tar.bz2
rockbox-cfda097394d752fde3b75ec2561ba752cd682e54.zip
Add HAVE_HOTSWAP_STORAGE_AS_MAIN to detect changed binary after re-inserting the storage on targets that run rockbox from hotswappable storage.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23752 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/misc.h')
-rw-r--r--apps/misc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/misc.h b/apps/misc.h
index 857d9ab4da..34f754bda3 100644
--- a/apps/misc.h
+++ b/apps/misc.h
@@ -69,7 +69,8 @@ extern int show_logo(void);
int open_utf8(const char* pathname, int flags);
#ifdef BOOTFILE
-#if !defined(USB_NONE) && !defined(USB_HANDLED_BY_OF)
+#if !defined(USB_NONE) && !defined(USB_HANDLED_BY_OF) \
+ || defined(HAVE_HOTSWAP_STORAGE_AS_MAIN)
void check_bootfile(bool do_rolo);
#endif
#endif