X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fa2986105ae1d10fd697f0f8afa27a7839af0bff..89c831801467203372b6964a785823f19e8063dd:/src/expat/lib/internal.h diff --git a/src/expat/lib/internal.h b/src/expat/lib/internal.h index f7e9a98a5f..edcc7afce1 100644 --- a/src/expat/lib/internal.h +++ b/src/expat/lib/internal.h @@ -20,7 +20,11 @@ and therefore subject to change. */ -#if defined(__GNUC__) +#ifdef FASTCALL +#undef FASTCALL +#endif + +#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))) @@ -38,9 +42,6 @@ Likely reason: __fastcall on Windows is like stdcall, therefore the compiler cannot perform stack optimizations for call clusters. */ -#ifdef FASTCALL -#undef FASTCALL -#endif #define FASTCALL #define PTRCALL #define PTRFASTCALL