Mercurial > libavcodec.hg
diff ppc/gcc_fixes.h @ 6154:10e8a0596311 libavcodec
Simplify preprocessor expression as suggested by Mans.
author | diego |
---|---|
date | Thu, 17 Jan 2008 08:34:53 +0000 |
parents | 75c09a7168c7 |
children | c4a4495715dd |
line wrap: on
line diff
--- 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 */