Mercurial > libavcodec.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
5578:05d19547df39 | 5579:1d68a08be2f9 |
---|---|
42 #define WORD_s0 0x10,0x11,0x12,0x13 | 42 #define WORD_s0 0x10,0x11,0x12,0x13 |
43 #define WORD_s1 0x14,0x15,0x16,0x17 | 43 #define WORD_s1 0x14,0x15,0x16,0x17 |
44 #define WORD_s2 0x18,0x19,0x1a,0x1b | 44 #define WORD_s2 0x18,0x19,0x1a,0x1b |
45 #define WORD_s3 0x1c,0x1d,0x1e,0x1f | 45 #define WORD_s3 0x1c,0x1d,0x1e,0x1f |
46 | 46 |
47 #ifdef SYS_DARWIN | 47 #ifdef __APPLE_CC__ |
48 #define vcprm(a,b,c,d) (const vector unsigned char)(WORD_ ## a, WORD_ ## b, WORD_ ## c, WORD_ ## d) | 48 #define vcprm(a,b,c,d) (const vector unsigned char)(WORD_ ## a, WORD_ ## b, WORD_ ## c, WORD_ ## d) |
49 #else | 49 #else |
50 #define vcprm(a,b,c,d) (const vector unsigned char){WORD_ ## a, WORD_ ## b, WORD_ ## c, WORD_ ## d} | 50 #define vcprm(a,b,c,d) (const vector unsigned char){WORD_ ## a, WORD_ ## b, WORD_ ## c, WORD_ ## d} |
51 #endif | 51 #endif |
52 | 52 |