From 3d1ca9deb5439da170f206504945172b149ebabf Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sun, 16 Jan 2005 15:54:47 +0000 Subject: Plugin fixes for simulator: (1) Don't compile calendar for units without RTC. (2) Don't compile wormlet for non-recorders. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5567 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/calendar.c | 2 +- apps/plugins/wormlet.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/plugins/calendar.c b/apps/plugins/calendar.c index 8870554290..44b3685c40 100644 --- a/apps/plugins/calendar.c +++ b/apps/plugins/calendar.c @@ -19,7 +19,7 @@ ****************************************************************************/ #include "plugin.h" -#ifdef HAVE_LCD_BITMAP +#if defined(HAVE_LCD_BITMAP) && defined(HAVE_RTC) #include diff --git a/apps/plugins/wormlet.c b/apps/plugins/wormlet.c index 8ded341bec..4c7d7ee950 100644 --- a/apps/plugins/wormlet.c +++ b/apps/plugins/wormlet.c @@ -18,7 +18,7 @@ ****************************************************************************/ #include "plugin.h" -#ifdef HAVE_LCD_BITMAP +#if defined(HAVE_LCD_BITMAP) && (CONFIG_KEYPAD == RECORDER_PAD) /* size of the field the worm lives in */ #define FIELD_RECT_X 1 -- cgit v1.2.3