summaryrefslogtreecommitdiff
path: root/libavutil/x86_cpu.h
diff options
context:
space:
mode:
authorPanagiotis Issaris <takis.issaris@uhasselt.be>2007-03-29 14:20:30 +0000
committerPanagiotis Issaris <takis.issaris@uhasselt.be>2007-03-29 14:20:30 +0000
commit449659919caa2dec5cb94792b64cf55f6afe0460 (patch)
treec622b1d92b23864478261e6c765e13f290f762d2 /libavutil/x86_cpu.h
parentd1b235699809858afbc27a837f9a7565298c80d6 (diff)
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 Originally committed as revision 8549 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/x86_cpu.h')
-rw-r--r--libavutil/x86_cpu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/x86_cpu.h b/libavutil/x86_cpu.h
index 3d54b2a60d..67d4cd9aa5 100644
--- a/libavutil/x86_cpu.h
+++ b/libavutil/x86_cpu.h
@@ -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 */