summaryrefslogtreecommitdiffstats
path: root/apps/screen_access.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-02-17 21:54:17 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-02-17 21:54:17 +0000
commit20a5926d2e0fe2cf7c5508f490ae04d61bfd07a4 (patch)
tree2dabff846860b975f6cb2d3e49567c72b0383be2 /apps/screen_access.c
parent5d45ec90e0614a96367e73d96fed8f47b112eced (diff)
downloadrockbox-20a5926d2e0fe2cf7c5508f490ae04d61bfd07a4.tar.gz
rockbox-20a5926d2e0fe2cf7c5508f490ae04d61bfd07a4.tar.bz2
rockbox-20a5926d2e0fe2cf7c5508f490ae04d61bfd07a4.zip
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
Diffstat (limited to 'apps/screen_access.c')
-rw-r--r--apps/screen_access.c2
1 files changed, 1 insertions, 1 deletions
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;