changeset 5579:1d68a08be2f9 libavcodec

Replace SYS_DARWIN by the more correct __APPLE_CC__, these preprocessor directives are aimed at idiosyncracies of Apple's gcc version.
author diego
date Fri, 24 Aug 2007 14:57:46 +0000
parents 05d19547df39
children 9f573d1246bb
files ppc/dsputil_altivec.h ppc/mpegvideo_altivec.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ppc/dsputil_altivec.h	Fri Aug 24 14:18:09 2007 +0000
+++ b/ppc/dsputil_altivec.h	Fri Aug 24 14:57:46 2007 +0000
@@ -44,7 +44,7 @@
 #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}
--- a/ppc/mpegvideo_altivec.c	Fri Aug 24 14:18:09 2007 +0000
+++ b/ppc/mpegvideo_altivec.c	Fri Aug 24 14:57:46 2007 +0000
@@ -66,7 +66,7 @@
 }
 
 
-#ifdef SYS_DARWIN
+#ifdef __APPLE_CC__
 #define FOUROF(a) (a)
 #else
 // slower, for dumb non-apple GCC