From b17f6a307a32682b3349c67944a77f961b5decde Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 2 Oct 2004 20:52:53 +0000 Subject: [PATCH] only use __attribute__(regparm) for x86, this results in warnings under other platforms (e.g. PPC) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/expat/lib/internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/expat/lib/internal.h b/src/expat/lib/internal.h index 6d290bd5f4..edcc7afce1 100644 --- a/src/expat/lib/internal.h +++ b/src/expat/lib/internal.h @@ -24,7 +24,7 @@ #undef FASTCALL #endif -#if defined(__GNUC__) +#if defined(__GNUC__) && defined(__i386__) /* Instability reported with egcs on a RedHat Linux 7.3. Let's comment it out: #define FASTCALL __attribute__((stdcall, regparm(3)))