diff x86_cpu.h @ 322:f16d448df06e libavutil

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
author takis
date Thu, 29 Mar 2007 14:20:30 +0000
parents d76a36742464
children 03b6f31e7f4b
line wrap: on
line diff
--- 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 */