From 55cb1ae6fcd56146c0197fde948038d44bb01eec Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 9 Jul 2002 17:41:51 +0000 Subject: [PATCH] gcc3 bug workaround Originally committed as revision 727 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/common.h b/libavcodec/common.h index 8ad8a8e5c5..3af4755c1c 100644 --- a/libavcodec/common.h +++ b/libavcodec/common.h @@ -165,7 +165,7 @@ inline void dprintf(const char* fmt,...) {} #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