summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavutil/x86_cpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/x86_cpu.h b/libavutil/x86_cpu.h
index d29b7d8ad9..08d31461fb 100644
--- a/libavutil/x86_cpu.h
+++ b/libavutil/x86_cpu.h
@@ -62,6 +62,8 @@ typedef int32_t x86_reg;
# define REGc ecx
# define REGd edx
# define REGSP esp
+#else
+typedef int x86_reg;
#endif
#define HAVE_7REGS (ARCH_X86_64 || (HAVE_EBX_AVAILABLE && HAVE_EBP_AVAILABLE))