diff options
author | Jens Arnold <amiconn@rockbox.org> | 2007-03-16 23:47:03 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2007-03-16 23:47:03 +0000 |
commit | 2c7b127dd77564a8ca8c384d7d1abed441efe110 (patch) | |
tree | 95353f6db63c676890176f26fb9f452e8050d547 /apps/menus/settings_menu.c | |
parent | c0351ca6338075461565b7ba14b01ba3cabb3f1e (diff) |
Set CONFIG_RTC to 0 for non-RTC targets, and check with #if to profit from -Wundef. No code change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12811 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menus/settings_menu.c')
-rw-r--r-- | apps/menus/settings_menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/menus/settings_menu.c b/apps/menus/settings_menu.c index 27d44fd1cf..d150aac148 100644 --- a/apps/menus/settings_menu.c +++ b/apps/menus/settings_menu.c @@ -185,7 +185,7 @@ MAKE_MENU(disk_menu, ID2P(LANG_DISK_MENU), 0, Icon_NOICON, #endif /* Time & Date */ -#ifdef CONFIG_RTC +#if CONFIG_RTC static int timedate_set(void) { struct tm tm; @@ -317,7 +317,7 @@ MAKE_MENU(system_menu, ID2P(LANG_SYSTEM), #ifndef HAVE_MMC &disk_menu, #endif -#ifdef CONFIG_RTC +#if CONFIG_RTC &time_menu, #endif &poweroff, |