X-Git-Url: https://git.libav.org/?p=libav.git;a=blobdiff_plain;f=libavcodec%2Fppc%2Fgcc_fixes.h;h=9814c3cb15548e64992183462ed07f65fe61d120;hp=b91e3a661511bed733bb663608fa906dbe63422c;hb=8008a04325236d6b6e0b3ae1c9c2a28c68668696;hpb=57b499c7da02941c1be7875c197b7809c724da84 diff --git a/libavcodec/ppc/gcc_fixes.h b/libavcodec/ppc/gcc_fixes.h index b91e3a6615..9814c3cb15 100644 --- a/libavcodec/ppc/gcc_fixes.h +++ b/libavcodec/ppc/gcc_fixes.h @@ -27,17 +27,13 @@ #include #endif -#ifdef CONFIG_DARWIN -# ifndef __MWERKS__ -# define AVV(x...) (x) -# else +#ifdef SYS_DARWIN +# ifdef __MWERKS__ # define AVV # endif #define REG_v(a) asm ( #a ) #else -#define AVV(x...) {x} - #if (__GNUC__ < 4) # define REG_v(a) #else @@ -108,7 +104,7 @@ __ch (__bin_args_eq (vector unsigned int, (a1), vector unsigned int, (a2)), \ #endif -#endif /* CONFIG_DARWIN */ +#endif /* SYS_DARWIN */ #ifndef __MWERKS__ #define const_vector const vector