summaryrefslogtreecommitdiff
path: root/contrib/ffmpeg/libavutil/x86_cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ffmpeg/libavutil/x86_cpu.h')
-rw-r--r--contrib/ffmpeg/libavutil/x86_cpu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/ffmpeg/libavutil/x86_cpu.h b/contrib/ffmpeg/libavutil/x86_cpu.h
index 3d54b2a60..67d4cd9aa 100644
--- a/contrib/ffmpeg/libavutil/x86_cpu.h
+++ b/contrib/ffmpeg/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 */