summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2005-02-16 19:39:48 +0000
committerDave Chapman <dave@dchapman.com>2005-02-16 19:39:48 +0000
commit3c166be0a42a010a0919ba316c26a2118ee93d1c (patch)
treec1589a1402fe543af7902acff70c06c6653b0540 /apps
parentaa97e4d4981d61808a558c5ab36be6d3bcc2c4f6 (diff)
downloadrockbox-3c166be0a42a010a0919ba316c26a2118ee93d1c.tar.gz
rockbox-3c166be0a42a010a0919ba316c26a2118ee93d1c.zip
Do not build on simulator or non-software codecs targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5984 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/lib/xxx2wav.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/lib/xxx2wav.c b/apps/plugins/lib/xxx2wav.c
index 92b7050f6d..b4be45347e 100644
--- a/apps/plugins/lib/xxx2wav.c
+++ b/apps/plugins/lib/xxx2wav.c
@@ -19,6 +19,9 @@
/* Various "helper functions" common to all the xxx2wav decoder plugins */
+#if (CONFIG_HWCODEC == MASNONE) && !defined(SIMULATOR)
+/* software codec platforms, not for simulator */
+
#include "plugin.h"
#include "xxx2wav.h"
@@ -222,3 +225,4 @@ void close_wav(file_info_struct* file_info) {
local_rb->write(file_info->outfile,wav_header,sizeof(wav_header));
local_rb->close(file_info->outfile);
}
+#endif /* CONFIG_HWCODEC == MASNONE */