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
This commit is contained in:
Vadim Zeitlin 2004-10-02 20:52:53 +00:00
parent ba3d13e1c8
commit b17f6a307a

View File

@ -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)))