diff options
Diffstat (limited to 'lib/libz/zutil.h')
-rw-r--r-- | lib/libz/zutil.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libz/zutil.h b/lib/libz/zutil.h index 87b70acec23c..7b42edcaa984 100644 --- a/lib/libz/zutil.h +++ b/lib/libz/zutil.h @@ -189,9 +189,14 @@ extern const char * const z_errmsg[10]; /* indexed by 2-zlib_error */ # define NO_vsnprintf # endif #endif +#ifdef VMS +# define NO_vsnprintf +#endif #ifdef HAVE_STRERROR - extern char *strerror OF((int)); +# ifndef VMS + extern char *strerror OF((int)); +# endif # define zstrerror(errnum) strerror(errnum) #else # define zstrerror(errnum) "" |