From c6ff1f5eb541f9557e7fbc1449df9c024fd59a03 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Mon, 18 Jul 2005 12:40:29 +0000 Subject: Added CPU_COLDFIRE define - one step closer to iAudio-port git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7186 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libFLAC/stream_decoder.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/codecs/libFLAC/stream_decoder.c') 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 #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; -- cgit v1.1