Mercurial > libavcodec.hg
diff ppc/dsputil_altivec.c @ 2068:4a0ec9031804 libavcodec
hadamard/AltiVec: fix to compiler fix, again by (Romain Dolbeau <dolbeau at irisa dot fr>)
author | michael |
---|---|
date | Tue, 08 Jun 2004 02:41:41 +0000 |
parents | 4c663228e020 |
children | 0f937b191cc3 |
line wrap: on
line diff
--- a/ppc/dsputil_altivec.c Tue Jun 08 02:13:44 2004 +0000 +++ b/ppc/dsputil_altivec.c Tue Jun 08 02:41:41 2004 +0000 @@ -1302,7 +1302,7 @@ #endif /* ALTIVEC_USE_REFERENCE_C_CODE */ } -#if (__GNUC__ * 100 + __GNUC_MINOR__ * 10 >= 330) +#ifdef CONFIG_DARWIN int hadamard8_diff8x8_altivec(/*MpegEncContext*/ void *s, uint8_t *dst, uint8_t *src, int stride, int h){ POWERPC_PERF_DECLARE(altivec_hadamard8_diff8x8_num, 1); int sum; @@ -1612,7 +1612,7 @@ POWERPC_PERF_STOP_COUNT(altivec_hadamard8_diff16_num, 1); return score; } -#endif // GCC >= 3.3 +#endif //CONFIG_DARWIN int has_altivec(void) {