Commit 80090ccf authored by Loren Merritt's avatar Loren Merritt

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
parent fedfacea
...@@ -38,7 +38,7 @@ void x264_cpu_restore( uint32_t cpu ); ...@@ -38,7 +38,7 @@ void x264_cpu_restore( uint32_t cpu );
* problem, but I don't want to require such a new version. * problem, but I don't want to require such a new version.
* This applies only to x86_32, since other architectures that need alignment * This applies only to x86_32, since other architectures that need alignment
* also have ABIs that ensure aligned stack. */ * 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 ); void x264_stack_align( void (*func)(x264_t*), x264_t *arg );
#else #else
#define x264_stack_align(func,arg) func(arg) #define x264_stack_align(func,arg) func(arg)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment