summaryrefslogtreecommitdiffstats
path: root/apps/screen_access.h
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.h
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.h')
-rw-r--r--apps/screen_access.h2
1 files changed, 1 insertions, 1 deletions
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)