forked from len0rd/rockbox
avoid using #if on undefined symbols, in preparation for -Wundef
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12357 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ab0752c9c0
commit
64a0fb8fd9
4 changed files with 9 additions and 3 deletions
|
|
@ -151,7 +151,8 @@ typedef void lcd_fastpixelfunc_type(fb_data *address);
|
|||
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
|
||||
#if defined(HAVE_LCD_COLOR) && LCD_REMOTE_DEPTH > 1
|
||||
#if defined(HAVE_LCD_COLOR) && defined(LCD_REMOTE_DEPTH) && \
|
||||
LCD_REMOTE_DEPTH > 1
|
||||
/* Just return color for screens use */
|
||||
static inline unsigned lcd_color_to_native(unsigned color)
|
||||
{ return color; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue