# HG changeset patch # User takis # Date 1175178030 0 # Node ID f16d448df06e7ff5471dbf4186ef1c1f2db7a485 # Parent 39cdbea1a8f1cea659c1bb86ca599b094f143113 Fix compilation when using the --disable-opts parameter. This to help those interested in using a debugger to debug FFmpeg. Original thread: Subject: [PATCH] Fix compilation when using --disable-opts Date: 2007-03-15 16:58:35 GMT diff -r 39cdbea1a8f1 -r f16d448df06e x86_cpu.h --- a/x86_cpu.h Tue Mar 27 21:47:03 2007 +0000 +++ b/x86_cpu.h Thu Mar 29 14:20:30 2007 +0000 @@ -57,4 +57,8 @@ # define REGSP esp #endif +#if defined(ARCH_X86_64) || (defined(ARCH_X86_32) && defined(CONFIG_EBX_AVAILABLE) && defined(CONFIG_EBP_AVAILABLE)) +# define CONFIG_7REGS 1 +#endif + #endif /* AVUTIL_X86CPU_H */