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.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/screen_access.h') diff --git a/apps/screen_access.h b/apps/screen_access.h index cf74a97ba1..eea15e86a5 100644 --- a/apps/screen_access.h +++ b/apps/screen_access.h @@ -93,7 +93,7 @@ struct screen void (*transparent_bitmap_part)(const fb_data *src, int src_x, int src_y, int stride, int x, int y, int width, int height); void (*set_drawmode)(int mode); -#if defined(HAVE_LCD_COLOR) && LCD_REMOTE_DEPTH > 1 +#if defined(HAVE_LCD_COLOR) && defined(LCD_REMOTE_DEPTH) && LCD_REMOTE_DEPTH > 1 unsigned (*color_to_native)(unsigned color); #endif #if (LCD_DEPTH > 1) || (LCD_REMOTE_DEPTH > 1) -- cgit v1.2.3