[MPlayer-dev-eng] [PATCH 8/9] Use proper ifdef/ifndef when checking defines
Diego Biurrun
diego at biurrun.de
Tue Feb 17 23:05:47 CET 2009
On Tue, Feb 17, 2009 at 08:34:53AM +0100, Hans-Christian Egtvedt wrote:
> 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?
I just added it for avr32.
Diego
More information about the MPlayer-dev-eng
mailing list