OSDN Git Service

typedef int x86_reg on non x86
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 19 Mar 2009 14:49:47 +0000 (14:49 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 19 Mar 2009 14:49:47 +0000 (14:49 +0000)
Originally committed as revision 18043 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavutil/x86_cpu.h

index d29b7d8..08d3146 100644 (file)
@@ -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))