diff options
author | Dave Chapman <dave@dchapman.com> | 2005-02-16 19:39:48 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2005-02-16 19:39:48 +0000 |
commit | 3c166be0a42a010a0919ba316c26a2118ee93d1c (patch) | |
tree | c1589a1402fe543af7902acff70c06c6653b0540 | |
parent | aa97e4d4981d61808a558c5ab36be6d3bcc2c4f6 (diff) | |
download | rockbox-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
-rw-r--r-- | apps/plugins/lib/xxx2wav.c | 4 |
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 @@ | |||
19 | 19 | ||
20 | /* Various "helper functions" common to all the xxx2wav decoder plugins */ | 20 | /* Various "helper functions" common to all the xxx2wav decoder plugins */ |
21 | 21 | ||
22 | #if (CONFIG_HWCODEC == MASNONE) && !defined(SIMULATOR) | ||
23 | /* software codec platforms, not for simulator */ | ||
24 | |||
22 | #include "plugin.h" | 25 | #include "plugin.h" |
23 | #include "xxx2wav.h" | 26 | #include "xxx2wav.h" |
24 | 27 | ||
@@ -222,3 +225,4 @@ void close_wav(file_info_struct* file_info) { | |||
222 | local_rb->write(file_info->outfile,wav_header,sizeof(wav_header)); | 225 | local_rb->write(file_info->outfile,wav_header,sizeof(wav_header)); |
223 | local_rb->close(file_info->outfile); | 226 | local_rb->close(file_info->outfile); |
224 | } | 227 | } |
228 | #endif /* CONFIG_HWCODEC == MASNONE */ | ||