diff options
author | Diego Biurrun <diego@biurrun.de> | 2007-08-24 14:57:46 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2007-08-24 14:57:46 +0000 |
commit | 08f87a9c99b4625135f31bb25e018ba5505d7f07 (patch) | |
tree | 3999a5c223f1c7f65f83d16341eae1c3db3d33eb /libavcodec | |
parent | be693f956e5b9c2871a008bdeb5c1d680ff110ee (diff) | |
download | ffmpeg-08f87a9c99b4625135f31bb25e018ba5505d7f07.tar.gz |
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 10206 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/ppc/dsputil_altivec.h | 2 | ||||
-rw-r--r-- | libavcodec/ppc/mpegvideo_altivec.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ppc/dsputil_altivec.h b/libavcodec/ppc/dsputil_altivec.h index c96d49a110..5dc85055a8 100644 --- a/libavcodec/ppc/dsputil_altivec.h +++ b/libavcodec/ppc/dsputil_altivec.h @@ -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} diff --git a/libavcodec/ppc/mpegvideo_altivec.c b/libavcodec/ppc/mpegvideo_altivec.c index 1e05acc2e5..9021d4540e 100644 --- a/libavcodec/ppc/mpegvideo_altivec.c +++ b/libavcodec/ppc/mpegvideo_altivec.c @@ -66,7 +66,7 @@ do { \ } -#ifdef SYS_DARWIN +#ifdef __APPLE_CC__ #define FOUROF(a) (a) #else // slower, for dumb non-apple GCC |