[FFmpeg-cvslog] r11523 - trunk/libavcodec/ppc/gcc_fixes.h
Måns Rullgård
mans
Mon Jan 14 02:46:52 CET 2008
lu_zero <subversion at mplayerhq.hu> writes:
> Author: lu_zero
> Date: Mon Jan 14 00:58:12 2008
> New Revision: 11523
>
> Log:
> gcc2 doesn't have bogus mergel, patch from Sigbj?rn Skj?ret cisc...broadpark___no
>
> Modified:
> trunk/libavcodec/ppc/gcc_fixes.h
>
> Modified: trunk/libavcodec/ppc/gcc_fixes.h
> ==============================================================================
> --- trunk/libavcodec/ppc/gcc_fixes.h (original)
> +++ trunk/libavcodec/ppc/gcc_fixes.h Mon Jan 14 00:58:12 2008
> @@ -35,7 +35,7 @@
> # define REG_v(a) asm ( #a )
> #endif
>
> -#if (__GNUC__ * 100 + __GNUC_MINOR__ < 303)
> +#if (__GNUC__ > 2) && (__GNUC__ * 100 + __GNUC_MINOR__ < 303)
Why not #if __GNUC__ == 3 && __GNUC_MINOR__ < 3? Seems simpler to me.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-cvslog
mailing list