diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-01-17 08:34:53 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-01-17 08:34:53 +0000 |
commit | 61dbf4e557b2f1b9ce3d6ddf2367f4d078db3996 (patch) | |
tree | 15fc6e2c97bda275051e2524ea7a05672b6bd20b /libavcodec/ppc | |
parent | 59ec6991aca92c8ed13e85b6809b46ec87c6884a (diff) | |
download | ffmpeg-61dbf4e557b2f1b9ce3d6ddf2367f4d078db3996.tar.gz |
Simplify preprocessor expression as suggested by Mans.
Originally committed as revision 11549 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ppc')
-rw-r--r-- | libavcodec/ppc/gcc_fixes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ppc/gcc_fixes.h b/libavcodec/ppc/gcc_fixes.h index ccce3f6582..b8a908a615 100644 --- a/libavcodec/ppc/gcc_fixes.h +++ b/libavcodec/ppc/gcc_fixes.h @@ -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 @@ __ch (__bin_args_eq (vector unsigned int, (a1), vector unsigned int, (a2)), \ ((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 */ |