summaryrefslogtreecommitdiffstats
path: root/apps/plugins/calculator.c
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-08-25 19:00:58 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-08-25 19:00:58 +0000
commit7014faee69119b832451a136c25e63722100b85e (patch)
treea31c20e5dcb920761924aa57a7507d8c33959ea4 /apps/plugins/calculator.c
parentb11767b7ae883f48e9020a7b137ddba5360d31af (diff)
downloadrockbox-7014faee69119b832451a136c25e63722100b85e.tar.gz
rockbox-7014faee69119b832451a136c25e63722100b85e.tar.bz2
rockbox-7014faee69119b832451a136c25e63722100b85e.zip
Remove build conditions inside .c plugin files
Rather use the Makefile to specify which files must be built Fix color builds with test plugins enabled (test_scanrate gave an empty .o file) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27886 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/calculator.c')
-rw-r--r--apps/plugins/calculator.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/plugins/calculator.c b/apps/plugins/calculator.c
index 8068b9c4f3..148f149726 100644
--- a/apps/plugins/calculator.c
+++ b/apps/plugins/calculator.c
@@ -75,7 +75,7 @@ F3: equal to "="
---------------------------------------------------------------------------*/
#include "plugin.h"
-#ifdef HAVE_LCD_BITMAP
+
#include "math.h"
@@ -1767,5 +1767,3 @@ enum plugin_status plugin_start(const void* parameter)
rb->button_clear_queue();
return PLUGIN_OK;
}
-
-#endif /* #ifdef HAVE_LCD_BITMAP */