From 7a994c84c3abbfb2c18cfb5ebbd4ee8f6694e49d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Fri, 2 Apr 2010 17:35:29 +0000 Subject: [PATCH] Only build alarm_menu.c if needed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25438 a1c6a512-1295-4272-9138-f99709370657 --- apps/SOURCES | 2 ++ 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 @@ logfdisp.c #endif action.c +#ifdef HAVE_RTC_ALARM alarm_menu.c +#endif abrepeat.c bookmark.c 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 @@ ****************************************************************************/ #include "config.h" -#ifdef HAVE_RTC_ALARM - #include #include "lcd.h" @@ -198,5 +196,3 @@ bool alarm_screen(void) } return false; } - -#endif /* HAVE_RTC_ALARM */