summaryrefslogtreecommitdiffstats
path: root/apps/plugins/vu_meter.c
diff options
context:
space:
mode:
authorTom Ross <midgey@rockbox.org>2007-02-17 23:06:22 +0000
committerTom Ross <midgey@rockbox.org>2007-02-17 23:06:22 +0000
commit2ad25c88182a1d898b7ba460beba3bd2231be94b (patch)
tree6b6b5ffa2cbf214fe45a5a323cd1427f1387099f /apps/plugins/vu_meter.c
parentf435db010773623bdcd15b8357c94b60aca4e4e9 (diff)
downloadrockbox-2ad25c88182a1d898b7ba460beba3bd2231be94b.tar.gz
rockbox-2ad25c88182a1d898b7ba460beba3bd2231be94b.tar.bz2
rockbox-2ad25c88182a1d898b7ba460beba3bd2231be94b.zip
Kill a few warnings in plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12366 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/vu_meter.c')
-rw-r--r--apps/plugins/vu_meter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/vu_meter.c b/apps/plugins/vu_meter.c
index 4a68088270..17f4e58165 100644
--- a/apps/plugins/vu_meter.c
+++ b/apps/plugins/vu_meter.c
@@ -131,7 +131,7 @@ PLUGIN_HEADER
const struct plugin_api* rb;
-#if SIMULATOR && (CONFIG_CODEC != SWCODEC)
+#if defined(SIMULATOR) && (CONFIG_CODEC != SWCODEC)
#define mas_codec_readreg(x) rand()%MAX_PEAK
#endif