From: Fred L. Drake, Jr. Date: Fri, 6 Sep 2002 21:29:46 +0000 (+0000) Subject: Disable FASTCALL on Windows since it turned out not to be as effective X-Git-Tag: R_1_95_5~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9bd525992bbbe25e8c669853053040e1a16d5b1c;p=libexpat Disable FASTCALL on Windows since it turned out not to be as effective as hoped. Leaving the definition in the file so we'll know what it was that didn't work, and hopefully find something better in the future. --- diff --git a/expat/lib/internal.h b/expat/lib/internal.h index 149ea3d2..313a23e5 100644 --- a/expat/lib/internal.h +++ b/expat/lib/internal.h @@ -15,8 +15,14 @@ #if defined(__GNUC__) #define FASTCALL __attribute__((stdcall, regparm(3))) #elif defined(WIN32) -#define FASTCALL __fastcall -#else +/* XXX This seems to have an unexpected negative effect on Windows so + we'll disable it for now on that platform. It may be reconsidered + for a future release if it can be made more effective. +*/ +/* #define FASTCALL __fastcall */ +#endif + +#ifndef FASTCALL #define FASTCALL #endif