From 20a5926d2e0fe2cf7c5508f490ae04d61bfd07a4 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 17 Feb 2007 21:54:17 +0000 Subject: build with -Wundef to make sure we have spelled the defines right in #if lines and have the proper includes included etc git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12360 a1c6a512-1295-4272-9138-f99709370657 --- apps/screen_access.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/screen_access.c') diff --git a/apps/screen_access.c b/apps/screen_access.c index b784637308..e2714b2324 100644 --- a/apps/screen_access.c +++ b/apps/screen_access.c @@ -140,7 +140,7 @@ void screen_init(struct screen * screen, enum screen_type screen_type) screen->transparent_bitmap=&lcd_bitmap_transparent; screen->transparent_bitmap_part=&lcd_bitmap_transparent_part; #endif -#if defined(HAVE_LCD_COLOR) && LCD_REMOTE_DEPTH > 1 +#if defined(HAVE_LCD_COLOR) && defined(LCD_REMOTE_DEPTH) && LCD_REMOTE_DEPTH > 1 screen->color_to_native=&lcd_color_to_native; #endif screen->get_background=&lcd_get_background; -- cgit