summaryrefslogtreecommitdiff
path: root/firmware/export/lcd.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-02-17 21:15:06 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-02-17 21:15:06 +0000
commit64a0fb8fd9a02a390d065c266420f8ad056bba19 (patch)
tree4aaf4ff5fcb83c41d132fe5a0c1e639fa7f9252b /firmware/export/lcd.h
parentab0752c9c05eb1135e9d548e3fab36d13b75ebb9 (diff)
downloadrockbox-64a0fb8fd9a02a390d065c266420f8ad056bba19.tar.gz
rockbox-64a0fb8fd9a02a390d065c266420f8ad056bba19.zip
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
Diffstat (limited to 'firmware/export/lcd.h')
-rw-r--r--firmware/export/lcd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h
index 37ad2b0cc2..fecf3f5426 100644
--- a/firmware/export/lcd.h
+++ b/firmware/export/lcd.h
@@ -151,7 +151,8 @@ typedef void lcd_fastpixelfunc_type(fb_data *address);
151 151
152#ifdef HAVE_LCD_BITMAP 152#ifdef HAVE_LCD_BITMAP
153 153
154#if defined(HAVE_LCD_COLOR) && LCD_REMOTE_DEPTH > 1 154#if defined(HAVE_LCD_COLOR) && defined(LCD_REMOTE_DEPTH) && \
155 LCD_REMOTE_DEPTH > 1
155/* Just return color for screens use */ 156/* Just return color for screens use */
156static inline unsigned lcd_color_to_native(unsigned color) 157static inline unsigned lcd_color_to_native(unsigned color)
157 { return color; } 158 { return color; }