aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-03-19 14:49:47 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-03-19 14:49:47 +0000
commit8e3d8a82e6eb8ef37daecddf651fe6cdadaab7e8 (patch)
treed93b3e67cc33bfd9f7ae3edaababdc4894616f5a /libavutil
parent72ef3dd72e5c16db4e32ecabb044073afff677c7 (diff)
downloadffmpeg-8e3d8a82e6eb8ef37daecddf651fe6cdadaab7e8.tar.gz
typedef int x86_reg on non x86
Originally committed as revision 18043 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-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))