Only build alarm_menu.c if needed

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25438 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2010-04-02 17:35:29 +00:00
parent 910ce55a41
commit 7a994c84c3
2 changed files with 2 additions and 4 deletions

View file

@ -2,7 +2,9 @@
logfdisp.c
#endif
action.c
#ifdef HAVE_RTC_ALARM
alarm_menu.c
#endif
abrepeat.c
bookmark.c
debug_menu.c

View file

@ -20,8 +20,6 @@
****************************************************************************/
#include "config.h"
#ifdef HAVE_RTC_ALARM
#include <stdbool.h>
#include "lcd.h"
@ -198,5 +196,3 @@ bool alarm_screen(void)
}
return false;
}
#endif /* HAVE_RTC_ALARM */