]> git.saurik.com Git - wxWidgets.git/commitdiff
only use __attribute__(regparm) for x86, this results in warnings under other platfor...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 2 Oct 2004 20:52:53 +0000 (20:52 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 2 Oct 2004 20:52:53 +0000 (20:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/expat/lib/internal.h

index 6d290bd5f44f264987c74c183a1d5b34bf405426..edcc7afce11799730fd54470bc428d8b84d31505 100644 (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)))