Commit 4a034fe7 authored by diego's avatar diego

Replace SYS_DARWIN by the more correct __APPLE_CC__, these preprocessor

directives are aimed at idiosyncracies of Apple's gcc version.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10206 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f3324119
......@@ -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}
......
......@@ -66,7 +66,7 @@ do { \
}
#ifdef SYS_DARWIN
#ifdef __APPLE_CC__
#define FOUROF(a) (a)
#else
// slower, for dumb non-apple GCC
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment