diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-04-02 17:35:29 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-04-02 17:35:29 +0000 |
commit | 7a994c84c3abbfb2c18cfb5ebbd4ee8f6694e49d (patch) | |
tree | bd8101d7347f1af2ff1821e2208a04f7b777ba49 /apps | |
parent | 910ce55a41bcc47e5293077d721ff19e6a921015 (diff) | |
download | rockbox-7a994c84c3abbfb2c18cfb5ebbd4ee8f6694e49d.tar.gz rockbox-7a994c84c3abbfb2c18cfb5ebbd4ee8f6694e49d.zip |
Only build alarm_menu.c if needed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25438 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/SOURCES | 2 | ||||
-rw-r--r-- | apps/alarm_menu.c | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/apps/SOURCES b/apps/SOURCES index a23e676a8e..7bc263a153 100644 --- a/apps/SOURCES +++ b/apps/SOURCES | |||
@@ -2,7 +2,9 @@ | |||
2 | logfdisp.c | 2 | logfdisp.c |
3 | #endif | 3 | #endif |
4 | action.c | 4 | action.c |
5 | #ifdef HAVE_RTC_ALARM | ||
5 | alarm_menu.c | 6 | alarm_menu.c |
7 | #endif | ||
6 | abrepeat.c | 8 | abrepeat.c |
7 | bookmark.c | 9 | bookmark.c |
8 | debug_menu.c | 10 | debug_menu.c |
diff --git a/apps/alarm_menu.c b/apps/alarm_menu.c index 6473bbab82..3a44fa472a 100644 --- a/apps/alarm_menu.c +++ b/apps/alarm_menu.c | |||
@@ -20,8 +20,6 @@ | |||
20 | ****************************************************************************/ | 20 | ****************************************************************************/ |
21 | #include "config.h" | 21 | #include "config.h" |
22 | 22 | ||
23 | #ifdef HAVE_RTC_ALARM | ||
24 | |||
25 | #include <stdbool.h> | 23 | #include <stdbool.h> |
26 | 24 | ||
27 | #include "lcd.h" | 25 | #include "lcd.h" |
@@ -198,5 +196,3 @@ bool alarm_screen(void) | |||
198 | } | 196 | } |
199 | return false; | 197 | return false; |
200 | } | 198 | } |
201 | |||
202 | #endif /* HAVE_RTC_ALARM */ | ||