Add gzvprintf() as an undocumented function in zlib.

The function is only available if stdarg.h is available.
This commit is contained in:
Mark Adler
2013-03-22 18:32:37 -07:00
parent dd5d0940e9
commit b06dee4369
5 changed files with 36 additions and 7 deletions

View File

@@ -427,6 +427,12 @@ typedef uLong FAR uLongf;
# endif
#endif
#if defined(STDC) || defined(Z_HAVE_STDARG_H)
# ifndef Z_SOLO
# include <stdarg.h> /* for va_list */
# endif
#endif
#ifdef _WIN32
# ifndef Z_SOLO
# include <stddef.h> /* for wchar_t */