Index: postproc/swscale_altivec_template.c =================================================================== RCS file: /cvsroot/mplayer/main/postproc/swscale_altivec_template.c,v retrieving revision 1.2 diff -u -r1.2 swscale_altivec_template.c --- postproc/swscale_altivec_template.c 6 Apr 2004 00:25:47 -0000 1.2 +++ postproc/swscale_altivec_template.c 3 Jun 2004 13:30:11 -0000 @@ -21,17 +21,15 @@ */ #ifdef CONFIG_DARWIN -static const vector signed int vzero = - (vector signed int)(0, 0, 0, 0); -static const vector unsigned int altivec_vectorShiftInt19 = - (vector unsigned int)(19, 19, 19, 19); +#define AVV(x...) (x) #else +#define AVV(x...) {x} +#endif + static const vector signed int vzero = - (vector signed int){0,0,0,0}; + (const vector signed int)AVV(0, 0, 0, 0); static const vector unsigned int altivec_vectorShiftInt19 = - (vector unsigned int){19, 19, 19, 19}; - -#endif + (const vector unsigned int)AVV(19, 19, 19, 19); static inline void altivec_packIntArrayToCharArray(int *val, uint8_t* dest, int dstW) {