]> granicus.if.org Git - libexpat/commitdiff
Disable FASTCALL on Windows since it turned out not to be as effective
authorFred L. Drake, Jr. <fdrake@users.sourceforge.net>
Fri, 6 Sep 2002 21:29:46 +0000 (21:29 +0000)
committerFred L. Drake, Jr. <fdrake@users.sourceforge.net>
Fri, 6 Sep 2002 21:29:46 +0000 (21:29 +0000)
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

index 149ea3d226d69f469603d3f0a5448bf431e15b74..313a23e5e0b9cae3a31e87cafb771692dca9c3ca 100644 (file)
 #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