diff options
Diffstat (limited to 'apps/codecs/libFLAC')
| -rw-r--r-- | apps/codecs/libFLAC/SOURCES | 2 | ||||
| -rw-r--r-- | apps/codecs/libFLAC/stream_decoder.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/codecs/libFLAC/SOURCES b/apps/codecs/libFLAC/SOURCES index d3a1673..d4b6ab5 100644 --- a/apps/codecs/libFLAC/SOURCES +++ b/apps/codecs/libFLAC/SOURCES @@ -10,6 +10,6 @@ md5.c memory.c seekable_stream_decoder.c stream_decoder.c -#if CONFIG_CPU==MCF5249 && !defined(SIMULATOR) +#ifdef CPU_COLDFIRE && !defined(SIMULATOR) coldfire.S #endif diff --git a/apps/codecs/libFLAC/stream_decoder.c b/apps/codecs/libFLAC/stream_decoder.c index 8ff9c8b..cb622a9 100644 --- a/apps/codecs/libFLAC/stream_decoder.c +++ b/apps/codecs/libFLAC/stream_decoder.c @@ -43,7 +43,7 @@ #include "private/lpc.h" #include "private/memory.h" -#if CONFIG_CPU==MCF5249 +#ifdef CPU_COLDFIRE #include <private/coldfire.h> #endif @@ -299,7 +299,7 @@ FLAC_API FLAC__StreamDecoderState FLAC__stream_decoder_init(FLAC__StreamDecoder */ FLAC__cpu_info(&decoder->private_->cpuinfo); /* first default to the non-asm routines */ -#if CONFIG_CPU==MCF5249 && !defined(SIMULATOR) +#ifdef CPU_COLDFIRE && !defined(SIMULATOR) decoder->private_->local_lpc_restore_signal = FLAC__lpc_restore_signal_mcf5249; decoder->private_->local_lpc_restore_signal_16bit = FLAC__lpc_restore_signal_mcf5249; decoder->private_->local_lpc_restore_signal_16bit_order8 = FLAC__lpc_restore_signal_mcf5249; |