X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fa2986105ae1d10fd697f0f8afa27a7839af0bff..768a499594fd9c9fd0155d0513c7f5b785ce4439:/src/expat/lib/internal.h?ds=sidebyside 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