changeset 697:1ca023f2f39d libavutil

typedef int x86_reg on non x86
author michael
date Thu, 19 Mar 2009 14:49:47 +0000
parents f23019f8fd69
children 8e9c6361e909
files x86_cpu.h
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/x86_cpu.h	Thu Mar 19 01:10:30 2009 +0000
+++ b/x86_cpu.h	Thu Mar 19 14:49:47 2009 +0000
@@ -62,6 +62,8 @@
 #    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))