From 9bd525992bbbe25e8c669853053040e1a16d5b1c Mon Sep 17 00:00:00 2001 From: "Fred L. Drake, Jr." Date: Fri, 6 Sep 2002 21:29:46 +0000 Subject: [PATCH] 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. --- expat/lib/internal.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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 -- 2.40.0