From 4b180bbd7353fd517c22f22abb3e4a263018f831 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Fri, 24 Aug 2007 15:18:41 +0000 Subject: [PATCH] Replace SYS_DARWIN by the more correct __APPLE_CC__, these preprocessor directives are aimed at idiosyncracies of Apple's gcc version. Originally committed as revision 10210 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/ppc/dsputil_altivec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/ppc/dsputil_altivec.h b/libavcodec/ppc/dsputil_altivec.h index 5dc85055a80..7762d34340f 100644 --- a/libavcodec/ppc/dsputil_altivec.h +++ b/libavcodec/ppc/dsputil_altivec.h @@ -61,7 +61,7 @@ void avg_pixels16_altivec(uint8_t *block, const uint8_t *pixels, int line_size, #define FLOAT_p 1. -#ifdef SYS_DARWIN +#ifdef __APPLE_CC__ #define vcii(a,b,c,d) (const vector float)(FLOAT_ ## a, FLOAT_ ## b, FLOAT_ ## c, FLOAT_ ## d) #else #define vcii(a,b,c,d) (const vector float){FLOAT_ ## a, FLOAT_ ## b, FLOAT_ ## c, FLOAT_ ## d} -- 2.39.2