From 3c166be0a42a010a0919ba316c26a2118ee93d1c Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Wed, 16 Feb 2005 19:39:48 +0000 Subject: 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 --- apps/plugins/lib/xxx2wav.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/plugins') 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 */ -- cgit v1.2.3