[Zlib-devel] #ifdef out strerror prototype for VMS
Glenn Randers-Pehrson
glennrp at comcast.net
Thu Jun 24 20:38:11 EDT 2004
At 07:18 PM 6/24/2004 -0400, Cosmin Truta wrote:
>
>Is it because VMS lacks strerror, or because this particular prototype
>doesn't work in VMS?
The latter, I think. Here's what is in xv.h:
/* not everyone has the strerror() function, or so I'm told */
#ifndef VMS
# define ERRSTR(x) sys_errlist[x]
#else
# define ERRSTR(x) strerror(x, vaxc$errno)
#endif
Notice the extra parameter. I think mozilla is depending on the
prototype already being found in another header file.
Glenn
More information about the Zlib-devel
mailing list