changeset 6143:75c09a7168c7 libavcodec

gcc2 doesn't have bogus mergel, patch from Sigbjrn Skjret cisc...broadpark___no
author lu_zero
date Sun, 13 Jan 2008 23:58:12 +0000
parents a35b838ab955
children f0efd4254164
files ppc/gcc_fixes.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ppc/gcc_fixes.h	Sun Jan 13 11:02:08 2008 +0000
+++ b/ppc/gcc_fixes.h	Sun Jan 13 23:58:12 2008 +0000
@@ -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).