Index: apps/plugins/lamp.c =================================================================== --- apps/plugins/lamp.c (Revision 19940) +++ apps/plugins/lamp.c (Arbeitskopie) @@ -27,7 +27,11 @@ PLUGIN_HEADER -#if defined(HAVE_BACKLIGHT) +#ifndef HAVE_BACKLIGHT +# error This plugin can be built only for players with backlight +#endif + + /* variable button definitions - only targets with a colour display */ #if defined(HAVE_LCD_COLOR) #if (CONFIG_KEYPAD == IRIVER_H300_PAD) @@ -242,4 +246,3 @@ #endif return PLUGIN_OK; } -#endif