X-Git-Url: https://git.libav.org/?p=libav.git;a=blobdiff_plain;f=libavcodec%2Fppc%2Fgcc_fixes.h;h=9814c3cb15548e64992183462ed07f65fe61d120;hp=6e03f11fa0196fad1f94bbdd86e54d8b9cfc5ffe;hb=8008a04325236d6b6e0b3ae1c9c2a28c68668696;hpb=04d7f601435e225e65b6a2ce45596ef03976c18c diff --git a/libavcodec/ppc/gcc_fixes.h b/libavcodec/ppc/gcc_fixes.h index 6e03f11fa0..9814c3cb15 100644 --- a/libavcodec/ppc/gcc_fixes.h +++ b/libavcodec/ppc/gcc_fixes.h @@ -3,39 +3,37 @@ * Used to workaround broken gcc (FSF gcc-3 pre gcc-3.3) * and to stay somewhat compatible with Darwin. * - * This library is free software; you can redistribute it and/or + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. + * version 2.1 of the License, or (at your option) any later version. * - * This library is distributed in the hope that it will be useful, + * FFmpeg is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software + * License along with FFmpeg; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef _GCC_FIXES_ -#define _GCC_FIXES_ +#ifndef GCC_FIXES_H +#define GCC_FIXES_H #ifdef HAVE_ALTIVEC_H #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 @@ -106,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 @@ -114,4 +112,4 @@ __ch (__bin_args_eq (vector unsigned int, (a1), vector unsigned int, (a2)), \ #define const_vector vector #endif -#endif /* _GCC_FIXES_ */ +#endif /* GCC_FIXES_H */