diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2013-03-22 18:32:37 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2013-03-22 18:32:37 -0700 |
commit | b06dee43696b5057ee8e1b9700655ad9e7d89669 (patch) | |
tree | 2c2faf2573f390a54dce9cdbda5e5e9747af087f /zconf.h.cmakein | |
parent | dd5d0940e93f2196a7791b1bf052d68309a7d45f (diff) | |
download | zlib-b06dee43696b5057ee8e1b9700655ad9e7d89669.tar.gz |
Add gzvprintf() as an undocumented function in zlib.
The function is only available if stdarg.h is available.
Diffstat (limited to 'zconf.h.cmakein')
-rw-r--r-- | zconf.h.cmakein | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/zconf.h.cmakein b/zconf.h.cmakein index 8f1956c..028be15 100644 --- a/zconf.h.cmakein +++ b/zconf.h.cmakein @@ -429,6 +429,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 */ |