diff options
author | Mark Harris <mark.hsj@gmail.com> | 2014-05-26 12:14:40 -0700 |
---|---|---|
committer | Mark Harris <mark.hsj@gmail.com> | 2014-05-26 12:14:40 -0700 |
commit | 5e154c7ed1c801ca8804ce4715345aee9c2c141c (patch) | |
tree | 2a62a103383d6f4aba5e1888ffff4e1a4580062d /libFDK | |
parent | 72fd73dbdd48a07c9eeae944fe9f1a9681628156 (diff) | |
download | fdk-aac-dabplus-5e154c7ed1c801ca8804ce4715345aee9c2c141c.tar.gz fdk-aac-dabplus-5e154c7ed1c801ca8804ce4715345aee9c2c141c.tar.bz2 fdk-aac-dabplus-5e154c7ed1c801ca8804ce4715345aee9c2c141c.zip |
Make LONG 32 bits for ppc64 as it is for x86_64
Diffstat (limited to 'libFDK')
-rw-r--r-- | libFDK/include/common_fix.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libFDK/include/common_fix.h b/libFDK/include/common_fix.h index 79c87ac..d2d11f4 100644 --- a/libFDK/include/common_fix.h +++ b/libFDK/include/common_fix.h @@ -226,7 +226,7 @@ FDK_INLINE FIXP_SGL fAbs(FIXP_SGL x) { return fixabs_S(x); } /* workaround for TI C6x compiler but not for TI ARM9E compiler */ -#if (!defined(__TI_COMPILER_VERSION__) || defined(__TI_TMS470_V5__)) && !defined(__x86_64__) +#if (!defined(__TI_COMPILER_VERSION__) || defined(__TI_TMS470_V5__)) && !defined(__LP64__) FDK_INLINE INT fAbs(INT x) { return fixabs_I(x); } #endif @@ -336,7 +336,7 @@ FDK_INLINE FIXP_SGL fMax(FIXP_SGL a, FIXP_SGL b) { return fixmax_S(a,b); } /* workaround for TI C6x compiler but not for TI ARM9E */ -#if ((!defined(__TI_COMPILER_VERSION__) || defined(__TI_TMS470_V5__)) && !defined(__x86_64__)) || (FIX_FRACT == 1) +#if ((!defined(__TI_COMPILER_VERSION__) || defined(__TI_TMS470_V5__)) && !defined(__LP64__)) || (FIX_FRACT == 1) FDK_INLINE INT fMax(INT a, INT b) { return fixmax_I(a,b); } FDK_INLINE INT fMin(INT a, INT b) |