# HG changeset patch # User mru # Date 1277577296 0 # Node ID 7c0b1b1593d68c19c4961dd9a3c06628d1ca6d15 # Parent 3dbbf18d4905ca4a5bfd6d0e86200998948408c6 ARM: fix build with TI compiler The TI compiler defines __eabi__ to signal that ARM EABI is in use. We must check for this in addition to the gcc macro __ARM_EABI__. diff -r 3dbbf18d4905 -r 7c0b1b1593d6 arm/asm-offsets.h --- a/arm/asm-offsets.h Sat Jun 26 15:53:25 2010 +0000 +++ b/arm/asm-offsets.h Sat Jun 26 18:34:56 2010 +0000 @@ -29,7 +29,7 @@ #endif /* MpegEncContext */ -#ifdef __ARM_EABI__ +#if defined(__ARM_EABI__) || defined(__eabi__) #define Y_DC_SCALE 0xa54 #define C_DC_SCALE 0xa58 #define AC_PRED 0xa80