]> granicus.if.org Git - libx264/commitdiff
fix compilation without asm on x86_32 (r658 worked only on x86_64).
authorLoren Merritt <pengvado@videolan.org>
Sat, 16 Jun 2007 04:02:48 +0000 (04:02 +0000)
committerLoren Merritt <pengvado@videolan.org>
Sat, 16 Jun 2007 04:02:48 +0000 (04:02 +0000)
git-svn-id: svn://svn.videolan.org/x264/trunk@660 df754926-b1dd-0310-bc7b-ec298dee348c

common/cpu.h

index 586f5319008ad346fefb495ffade87d591889157..84a45627c17a1a249a9406d72e13edc8b8a67fae 100644 (file)
@@ -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)