summaryrefslogtreecommitdiff
path: root/lib/internal.h
diff options
context:
space:
mode:
authorfdrake <fdrake>2002-09-06 21:29:46 +0000
committerfdrake <fdrake>2002-09-06 21:29:46 +0000
commit8d13ff951e32813e044ec4a59a36d7072722ba43 (patch)
treec281361a17c3ee6f8a95a6642d0c7b6fedbe130c /lib/internal.h
parentb4365e5543d3b78b494298d5b889a7afec5f25bf (diff)
downloadlibexpat-8d13ff951e32813e044ec4a59a36d7072722ba43.tar.gz
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.
Diffstat (limited to 'lib/internal.h')
-rw-r--r--lib/internal.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/internal.h b/lib/internal.h
index 149ea3d..313a23e 100644
--- a/lib/internal.h
+++ b/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