aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2008-01-13 23:58:12 +0000
committerLuca Barbato <lu_zero@gentoo.org>2008-01-13 23:58:12 +0000
commit3174c77a3ed0db38c79de086d3f1ba3aba31acf8 (patch)
treeb3ab4fb93bf133b260ca95c7c2b28da50ad09f69
parentc5adfd641a860c4fe948a80d92b6ec79bd16102c (diff)
downloadffmpeg-3174c77a3ed0db38c79de086d3f1ba3aba31acf8.tar.gz
gcc2 doesn't have bogus mergel, patch from Sigbjørn Skjæret cisc...broadpark___no
Originally committed as revision 11523 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/ppc/gcc_fixes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ppc/gcc_fixes.h b/libavcodec/ppc/gcc_fixes.h
index c81b4ed20c..ccce3f6582 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__ * 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).