diff options
author | fdrake <fdrake> | 2002-09-06 21:29:46 +0000 |
---|---|---|
committer | fdrake <fdrake> | 2002-09-06 21:29:46 +0000 |
commit | 8d13ff951e32813e044ec4a59a36d7072722ba43 (patch) | |
tree | c281361a17c3ee6f8a95a6642d0c7b6fedbe130c /lib/internal.h | |
parent | b4365e5543d3b78b494298d5b889a7afec5f25bf (diff) | |
download | libexpat-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.h | 10 |
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 |