From 0c021deb05107afc6826b255feb3b1c512a26ca5 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 17 Feb 2007 23:07:39 +0000 Subject: #if => #ifdef git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12368 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 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); -- cgit v1.2.3