[MPlayer-dev-eng] [PATCH 8/9] Use proper ifdef/ifndef when checking defines
Hans-Christian Egtvedt
hans-christian.egtvedt at atmel.com
Tue Feb 17 08:34:53 CET 2009
On Mon, 16 Feb 2009 18:31:12 +0100
Diego Biurrun <diego at biurrun.de> wrote:
> On Mon, Feb 16, 2009 at 05:16:57PM +0100, Hans-Christian Egtvedt
> wrote:
> >
> > --- a/libavcodec/bitstream.h
> > +++ b/libavcodec/bitstream.h
> > @@ -199,7 +199,7 @@ static inline void put_bits(PutBitContext *s,
> > int n, unsigned int value) if (n >= bit_left) {
> > -#if !HAVE_FAST_UNALIGNED
> > +#ifndef HAVE_FAST_UNALIGNED
>
> All of these are wrong, rejected.
>
The reason for my patch was that HAVE_FAST_UNALIGNED is not defined
when I configure for AVR32, and I got warnings from GCC.
Should this define be present somewhere after a ./configure?
--
Best regards,
Hans-Christian Egtvedt
More information about the MPlayer-dev-eng
mailing list