From 80090ccfb3493659451c21506d77dcacda6bcab2 Mon Sep 17 00:00:00 2001 From: Loren Merritt Date: Sat, 16 Jun 2007 04:02:48 +0000 Subject: [PATCH] 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 --- common/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.47.3