# HG changeset patch # User diego # Date 1200558893 0 # Node ID 10e8a059631184f1cc0d16cb82fbbc03306f1523 # Parent a935fe8071ae9c61f0d912e3bce3b6ce14b32e4b Simplify preprocessor expression as suggested by Mans. diff -r a935fe8071ae -r 10e8a0596311 ppc/gcc_fixes.h --- a/ppc/gcc_fixes.h Thu Jan 17 08:30:06 2008 +0000 +++ b/ppc/gcc_fixes.h Thu Jan 17 08:34:53 2008 +0000 @@ -35,7 +35,7 @@ # define REG_v(a) asm ( #a ) #endif -#if (__GNUC__ > 2) && (__GNUC__ * 100 + __GNUC_MINOR__ < 303) +#if (__GNUC__ == 3 && __GNUC_MINOR__ < 3) /* This code was provided to me by Bartosch Pixa * as a separate header file (broken_mergel.h). @@ -97,6 +97,6 @@ ((vector unsigned int) ff_vmrglw ((vector signed int) (a1), (vector signed int) (a2))), \ __altivec_link_error_invalid_argument ()))))))) -#endif +#endif /* (__GNUC__ == 3 && __GNUC_MINOR__ < 3) */ #endif /* FFMPEG_GCC_FIXES_H */