]> git.sesse.net Git - ffmpeg/commitdiff
gcc2 doesn't have bogus mergel, patch from Sigbjørn Skjæret cisc...broadpark___no
authorLuca Barbato <lu_zero@gentoo.org>
Sun, 13 Jan 2008 23:58:12 +0000 (23:58 +0000)
committerLuca Barbato <lu_zero@gentoo.org>
Sun, 13 Jan 2008 23:58:12 +0000 (23:58 +0000)
Originally committed as revision 11523 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/ppc/gcc_fixes.h

index c81b4ed20c1ef8512fc0854b6908d8f5ba0afc46..ccce3f6582271f976c60703a87fcda56a222500e 100644 (file)
@@ -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)
 
 /* This code was provided to me by Bartosch Pixa
  * as a separate header file (broken_mergel.h).