From: Loren Merritt Date: Sat, 16 Jun 2007 04:02:48 +0000 (+0000) Subject: fix compilation without asm on x86_32 (r658 worked only on x86_64). X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=80090ccfb3493659451c21506d77dcacda6bcab2;p=x264.git fix compilation without asm on x86_32 (r658 worked only on x86_64). git-svn-id: svn://svn.videolan.org/x264/trunk@660 df754926-b1dd-0310-bc7b-ec298dee348c --- diff --git a/common/cpu.h b/common/cpu.h index 586f5319..84a45627 100644 --- a/common/cpu.h +++ b/common/cpu.h @@ -38,7 +38,7 @@ void x264_cpu_restore( uint32_t cpu ); * problem, but I don't want to require such a new version. * This applies only to x86_32, since other architectures that need alignment * also have ABIs that ensure aligned stack. */ -#ifdef ARCH_X86 +#if defined(ARCH_X86) && defined(HAVE_MMX) void x264_stack_align( void (*func)(x264_t*), x264_t *arg ); #else #define x264_stack_align(func,arg) func(arg)