changeset 522:cf7d120ed51a libavcodec

gcc3 bug workaround
author michaelni
date Tue, 09 Jul 2002 17:41:51 +0000
parents 9c66b5183ab3
children c7e4c8b9a3c4
files common.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/common.h	Tue Jul 09 16:08:43 2002 +0000
+++ b/common.h	Tue Jul 09 17:41:51 2002 +0000
@@ -165,7 +165,7 @@
 #define MAX(a,b) ((a) > (b) ? (a) : (b))
 #define MIN(a,b) ((a) > (b) ? (b) : (a))
 
-#ifdef ARCH_X86
+#if defined ARCH_X86 && (__GNUC__ != 3 || __GNUC_MINOR__ > 1)
 // inverse for shift optimization (gcc should do that ...)
 #define INV32(a) (-a)
 #else