OSDN Git Service

Replace SYS_DARWIN by the more correct __APPLE_CC__, these preprocessor
authorDiego Biurrun <diego@biurrun.de>
Fri, 24 Aug 2007 15:18:41 +0000 (15:18 +0000)
committerDiego Biurrun <diego@biurrun.de>
Fri, 24 Aug 2007 15:18:41 +0000 (15:18 +0000)
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

index 5dc8505..7762d34 100644 (file)
@@ -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}