[Ffmpeg-devel] ARCH_X86 vs ARCH_X86_32 vs ARCH_X86_64

Diego Biurrun diego
Wed Oct 25 18:56:19 CEST 2006


On Mon, Oct 16, 2006 at 11:14:05PM +0200, Diego Biurrun wrote:
> On Mon, Oct 16, 2006 at 11:04:19PM +0200, Diego Biurrun wrote:
> > On Mon, Oct 16, 2006 at 11:00:59PM +0200, Diego Biurrun wrote:
> > > On Sun, Oct 08, 2006 at 11:55:55PM +0200, Diego Biurrun wrote:
> > > > I'd like to introduce a define that encompasses both x86 and x86_64 to
> > > > simplify statements like
> > > > 
> > > >   #if defined(ARCH_X86) || defined(ARCH_X86_64)
> > > > 
> > > > of which we have tons in the code and be able to use it in the Makefiles
> > > > where or expressions are troublesome.
> > > > 
> > > > My first idea was to rename ARCH_X86 --> ARCH_X86_32 and use ARCH_X86
> > > > for the general case.  It seems like the cleanest and most
> > > > straightforward solution to me, but I'm getting second thoughts.  I'm
> > > > afraid that ARCH_X86 semantics are kind of set in stone through years of
> > > > usage (in autoconf as well).
> > > 
> > > OK, here is a first patch that introduces ARCH_X86_32.  Testing welcome.
> 
> And here is the corresponding patch for MPlayer, testing on x86_64 very
> welcome as well.

Reimar, maybe you can test this?

Diego




More information about the ffmpeg-devel mailing list