Mercurial > libavcodec.hg
diff common.h @ 522:cf7d120ed51a libavcodec
gcc3 bug workaround
| author | michaelni |
|---|---|
| date | Tue, 09 Jul 2002 17:41:51 +0000 |
| parents | 19a5e2a81e1a |
| children | 985187bc2fa3 |
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
