[FFmpeg-cvslog] r11549 - trunk/libavcodec/ppc/gcc_fixes.h

diego subversion
Thu Jan 17 09:34:53 CET 2008


Author: diego
Date: Thu Jan 17 09:34:53 2008
New Revision: 11549

Log:
Simplify preprocessor expression as suggested by Mans.


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	Thu Jan 17 09:34:53 2008
@@ -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 @@ __ch (__bin_args_eq (vector unsigned int
       ((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 */




More information about the ffmpeg-cvslog mailing list