Browse Source

typedef int x86_reg on non x86

Originally committed as revision 18043 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Michael Niedermayer 17 years ago
parent
commit
8e3d8a82e6
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavutil/x86_cpu.h

+ 2
- 0
libavutil/x86_cpu.h View File

@@ -62,6 +62,8 @@ typedef int32_t x86_reg;
# define REGc ecx # define REGc ecx
# define REGd edx # define REGd edx
# define REGSP esp # define REGSP esp
#else
typedef int x86_reg;
#endif #endif


#define HAVE_7REGS (ARCH_X86_64 || (HAVE_EBX_AVAILABLE && HAVE_EBP_AVAILABLE)) #define HAVE_7REGS (ARCH_X86_64 || (HAVE_EBX_AVAILABLE && HAVE_EBP_AVAILABLE))


Loading…
Cancel
Save