$NetBSD: patch-ab,v 1.7 2001/03/31 18:59:30 kristerw Exp $ --- src/drawgfx.c.orig Wed Mar 28 07:30:13 2001 +++ src/drawgfx.c Fri Mar 30 23:26:46 2001 @@ -2,6 +2,9 @@ #include "driver.h" +/* The heavy use of INLINE in this file causes memory explosion in egcs. */ +#undef INLINE +#define INLINE static #ifdef LSB_FIRST #define SHIFT0 0 @@ -34,7 +37,7 @@ return (*((UINT8 *)address ) << SHIFT0) + (*((UINT8 *)address+1) << SHIFT1) + (*((UINT8 *)address+2) << SHIFT2) + - (*((UINT8 *)address+3) << SHIFT3) ); + (*((UINT8 *)address+3) << SHIFT3); } else return *(UINT32 *)address;