curl-library
Re: sys_nerr on MSVC
From: Gisle Vanem <gvanem_at_broadpark.no>
Date: Thu, 25 Mar 2004 14:04:29 +0100
Date: Thu, 25 Mar 2004 14:04:29 +0100
The 'sys_nerr' must have DLL-linkage on Win32 and possibly
Netware too. And what about VMS?
--- CVS-latest/lib/curl_strerror.c Thu Mar 25 13:45:01 2004
+++ lib/curl_strerror.c Thu Mar 25 14:00:40 2004
@@ -488,7 +488,9 @@
}
#endif /* WIN32 && !__CYGWIN__ */
+#ifndef WIN32
extern int sys_nerr;
+#endif
BTW. Is it a new trend to prefix new files with "curl_"? That might
cause problems on DOS. I wouldn't mind renaming them to
strerror.*.
--gv
Received on 2004-03-25