From 99b38b2f54627ea568a823b7b9bf85467e1ada32 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 25 Mar 2004 12:32:10 +0000 Subject: 19683: Work around dllwrap problem on Cygwin --- Src/utils.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'Src') diff --git a/Src/utils.c b/Src/utils.c index 30519f247..2e061e591 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -110,6 +110,19 @@ zwarnnam(const char *cmd, const char *fmt, const char *str, int num) zerrmsg(fmt, str, num); } +#ifdef __CYGWIN__ +/* + * This works around an occasional problem with dllwrap on Cygwin, seen + * on at least two installations. It fails to find the last symbol + * exported in alphabetical order (in our case zwarnnam). Until this is + * properly categorised and fixed we add a dummy symbol at the end. + */ +mod_export void +zz_plural_z_alpha(void) +{ +} +#endif + /**/ void zerrmsg(const char *fmt, const char *str, int num) -- cgit 1.4.1