Mercurial > libavcodec.hg
diff 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 |
line wrap: on
line diff
--- a/ppc/gcc_fixes.h Thu Feb 26 19:11:21 2004 +0000 +++ b/ppc/gcc_fixes.h Sat Feb 28 15:03:53 2004 +0000 @@ -12,7 +12,11 @@ #endif #ifdef CONFIG_DARWIN -#define AVV(x...) (x) +# ifndef __MWERKS__ +# define AVV(x...) (x) +# else +# define AVV +# endif #else #define AVV(x...) {x} #if (__GNUC__ * 100 + __GNUC_MINOR__ < 303) @@ -81,4 +85,10 @@ #endif /* CONFIG_DARWIN */ +#ifndef __MWERKS__ +#define const_vector const vector +#else +#define const_vector vector +#endif + #endif /* _GCC_FIXES_ */