Mercurial > libavcodec.hg
diff ppc/dsputil_altivec.h @ 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 | 204273dd0349 |
children | 2089dcb2b18a |
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}