summaryrefslogtreecommitdiffstats
path: root/apps/screen_access.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-02-17 23:07:39 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-02-17 23:07:39 +0000
commit0c021deb05107afc6826b255feb3b1c512a26ca5 (patch)
tree0dd04469d9ee04b9496a9e53d308718591fa48a0 /apps/screen_access.h
parent1916576728f8e3b84eab8044e5f2a01ee3d6d943 (diff)
downloadrockbox-0c021deb05107afc6826b255feb3b1c512a26ca5.tar.gz
rockbox-0c021deb05107afc6826b255feb3b1c512a26ca5.tar.bz2
rockbox-0c021deb05107afc6826b255feb3b1c512a26ca5.zip
#if => #ifdef
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12368 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 eea15e86a5..54f2d64fdb 100644
--- a/apps/screen_access.h
+++ b/apps/screen_access.h
@@ -96,7 +96,7 @@ struct screen
#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)
+#if (LCD_DEPTH > 1) || (defined(LCD_REMOTE_DEPTH) && (LCD_REMOTE_DEPTH > 1))
unsigned (*get_background)(void);
unsigned (*get_foreground)(void);
void (*set_background)(unsigned background);