changeset 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 39cdbea1a8f1
children 0e5545f9a454
files x86_cpu.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
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 */