Simplify preprocessor expression as suggested by Mans.
authorDiego Biurrun <diego@biurrun.de>
Thu, 17 Jan 2008 08:34:53 +0000 (08:34 +0000)
committerDiego Biurrun <diego@biurrun.de>
Thu, 17 Jan 2008 08:34:53 +0000 (08:34 +0000)
Originally committed as revision 11549 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/ppc/gcc_fixes.h

index ccce3f6582271f976c60703a87fcda56a222500e..b8a908a61508541cc95f75b91561f76665375ee1 100644 (file)
@@ -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, (a1), vector unsigned int, (a2)), \
       ((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 */