diff options
author | Brandon Low <lostlogic@rockbox.org> | 2006-01-19 20:44:57 +0000 |
---|---|---|
committer | Brandon Low <lostlogic@rockbox.org> | 2006-01-19 20:44:57 +0000 |
commit | 3249f3eb87f2b4b406bf7aead50adeb6a4e4e52e (patch) | |
tree | af7ebf5957b3ca41dd90b0fa555f86d63ddd7f6c /apps | |
parent | 178a85f31cded478412d1365cd3d0537bc6e4ecc (diff) | |
download | rockbox-3249f3eb87f2b4b406bf7aead50adeb6a4e4e52e.tar.gz rockbox-3249f3eb87f2b4b406bf7aead50adeb6a4e4e52e.zip |
Fix red builds more
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8394 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/misc.c b/apps/misc.c index 755eba095f..6ca28cbb01 100644 --- a/apps/misc.c +++ b/apps/misc.c | |||
@@ -458,7 +458,7 @@ static bool clean_shutdown(void (*callback)(void *), void *parameter) | |||
458 | (void)parameter; | 458 | (void)parameter; |
459 | exit(0); | 459 | exit(0); |
460 | #else | 460 | #else |
461 | #ifndef HAVE_POWEROFF_WHILE_CHARGING | 461 | #if defined(HAVE_CHARGING) && !defined(HAVE_POWEROFF_WHILE_CHARGING) |
462 | if(!charger_inserted()) | 462 | if(!charger_inserted()) |
463 | #endif | 463 | #endif |
464 | { | 464 | { |