changeset 6154:10e8a0596311 libavcodec

Simplify preprocessor expression as suggested by Mans.
author diego
date Thu, 17 Jan 2008 08:34:53 +0000
parents a935fe8071ae
children a425bdc70ac5
files ppc/gcc_fixes.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ppc/gcc_fixes.h	Thu Jan 17 08:30:06 2008 +0000
+++ b/ppc/gcc_fixes.h	Thu Jan 17 08:34:53 2008 +0000
@@ -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 @@
       ((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 */