Fix gzopen_w() type and add #include for the type.

This commit is contained in:
Mark Adler
2012-03-17 21:42:30 -07:00
parent 2c42538c2e
commit a1af6e96e3
3 changed files with 6 additions and 2 deletions

View File

@@ -275,7 +275,7 @@ gzFile ZEXPORT gzdopen(fd, mode)
/* -- see zlib.h -- */
#ifdef _WIN32
gzFile ZEXPORT gzopen_w(path, mode)
const w_char *path;
const wchar_t *path;
const char *mode;
{
return gz_open(path, -2, mode);