]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/ppc/dsputil_altivec.h
Replace SYS_DARWIN by the more correct __APPLE_CC__, these preprocessor
[ffmpeg] / libavcodec / ppc / dsputil_altivec.h
index c96d49a1103e821d4426db27e131c62ebaba0323..5dc85055a80f82120799b4bc6fe3e737a1898b9d 100644 (file)
@@ -44,7 +44,7 @@ void avg_pixels16_altivec(uint8_t *block, const uint8_t *pixels, int line_size,
 #define WORD_s2 0x18,0x19,0x1a,0x1b
 #define WORD_s3 0x1c,0x1d,0x1e,0x1f
 
-#ifdef SYS_DARWIN
+#ifdef __APPLE_CC__
 #define vcprm(a,b,c,d) (const vector unsigned char)(WORD_ ## a, WORD_ ## b, WORD_ ## c, WORD_ ## d)
 #else
 #define vcprm(a,b,c,d) (const vector unsigned char){WORD_ ## a, WORD_ ## b, WORD_ ## c, WORD_ ## d}