From 8e3d8a82e6eb8ef37daecddf651fe6cdadaab7e8 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 19 Mar 2009 14:49:47 +0000 Subject: [PATCH] typedef int x86_reg on non x86 Originally committed as revision 18043 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/x86_cpu.h | 2 ++ 1 file changed, 2 insertions(+) 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))