comparison ppc/gcc_fixes.h @ 1839:b370288f004d libavcodec

Metrowerks CodeWarrior patches by (John Dalgliesh <johnd at defyne dot org>)
author michael
date Sat, 28 Feb 2004 15:03:53 +0000
parents fd48c92213ae
children ef2149182f1c
comparison
equal deleted inserted replaced
1838:8cdbb74c2f4b 1839:b370288f004d
10 #ifdef HAVE_ALTIVEC_H 10 #ifdef HAVE_ALTIVEC_H
11 #include <altivec.h> 11 #include <altivec.h>
12 #endif 12 #endif
13 13
14 #ifdef CONFIG_DARWIN 14 #ifdef CONFIG_DARWIN
15 #define AVV(x...) (x) 15 # ifndef __MWERKS__
16 # define AVV(x...) (x)
17 # else
18 # define AVV
19 # endif
16 #else 20 #else
17 #define AVV(x...) {x} 21 #define AVV(x...) {x}
18 #if (__GNUC__ * 100 + __GNUC_MINOR__ < 303) 22 #if (__GNUC__ * 100 + __GNUC_MINOR__ < 303)
19 23
20 /* This code was provided to me by Bartosch Pixa 24 /* This code was provided to me by Bartosch Pixa
79 83
80 #endif 84 #endif
81 85
82 #endif /* CONFIG_DARWIN */ 86 #endif /* CONFIG_DARWIN */
83 87
88 #ifndef __MWERKS__
89 #define const_vector const vector
90 #else
91 #define const_vector vector
92 #endif
93
84 #endif /* _GCC_FIXES_ */ 94 #endif /* _GCC_FIXES_ */