diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-02-28 15:03:53 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-02-28 15:03:53 +0000 |
commit | aab34ca0c5bbffd06aaa3718151ef1662860da3a (patch) | |
tree | dfd94f11bf916fddfeca24aaedb838131e17b880 /libavcodec/ppc/gcc_fixes.h | |
parent | 259630df425c51c7a0a8fca220a3128a6dc21efc (diff) | |
download | ffmpeg-aab34ca0c5bbffd06aaa3718151ef1662860da3a.tar.gz |
Metrowerks CodeWarrior patches by (John Dalgliesh <johnd at defyne dot org>)
Originally committed as revision 2823 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ppc/gcc_fixes.h')
-rw-r--r-- | libavcodec/ppc/gcc_fixes.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/libavcodec/ppc/gcc_fixes.h b/libavcodec/ppc/gcc_fixes.h index a8e92cb2f1..13d4ff12e7 100644 --- a/libavcodec/ppc/gcc_fixes.h +++ b/libavcodec/ppc/gcc_fixes.h @@ -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 @@ __ch (__bin_args_eq (vector unsigned int, (a1), vector unsigned int, (a2)), \ #endif /* CONFIG_DARWIN */ +#ifndef __MWERKS__ +#define const_vector const vector +#else +#define const_vector vector +#endif + #endif /* _GCC_FIXES_ */ |