changeset 11966:7c0b1b1593d6 libavcodec

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__.
author mru
date Sat, 26 Jun 2010 18:34:56 +0000
parents 3dbbf18d4905
children 4b2300246240
files arm/asm-offsets.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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