From d7a766e9dfc8c509582f8f7f5123fdd7e6b3fa17 Mon Sep 17 00:00:00 2001 From: Greg Stein Date: Sun, 28 Sep 2003 21:57:22 +0000 Subject: [PATCH] Suggested fix from jtalkington@users.sf.net. See bug #765227. * lib/internal.h: (FASTCALL, PTRFASTCALL): only define these macros for the GNU C compiler on i386 platforms. apprently, they do not work well on PPC ports. --- expat/lib/internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expat/lib/internal.h b/expat/lib/internal.h index 84e5e2a7..ff056c65 100644 --- a/expat/lib/internal.h +++ b/expat/lib/internal.h @@ -20,7 +20,7 @@ and therefore subject to change. */ -#if defined(__GNUC__) && defined(linux) +#if defined(__GNUC__) && defined(__i386__) /* We'll use this version by default only where we know it helps. regparm() generates warnings on Solaris boxes. See SF bug #692878.