diff options
| -rw-r--r-- | gzguts.h | 4 | ||||
| -rw-r--r-- | gzlib.c | 2 | ||||
| -rw-r--r-- | zlib.h | 2 |
3 files changed, 6 insertions, 2 deletions
| @@ -27,6 +27,10 @@ | |||
| 27 | #endif | 27 | #endif |
| 28 | #include <fcntl.h> | 28 | #include <fcntl.h> |
| 29 | 29 | ||
| 30 | #ifdef _WIN32 | ||
| 31 | # include <stddef.h> | ||
| 32 | #endif | ||
| 33 | |||
| 30 | #if defined(__TURBOC__) || defined(_MSC_VER) || defined(_WIN32) | 34 | #if defined(__TURBOC__) || defined(_MSC_VER) || defined(_WIN32) |
| 31 | # include <io.h> | 35 | # include <io.h> |
| 32 | #endif | 36 | #endif |
| @@ -275,7 +275,7 @@ gzFile ZEXPORT gzdopen(fd, mode) | |||
| 275 | /* -- see zlib.h -- */ | 275 | /* -- see zlib.h -- */ |
| 276 | #ifdef _WIN32 | 276 | #ifdef _WIN32 |
| 277 | gzFile ZEXPORT gzopen_w(path, mode) | 277 | gzFile ZEXPORT gzopen_w(path, mode) |
| 278 | const w_char *path; | 278 | const wchar_t *path; |
| 279 | const char *mode; | 279 | const char *mode; |
| 280 | { | 280 | { |
| 281 | return gz_open(path, -2, mode); | 281 | return gz_open(path, -2, mode); |
| @@ -1733,7 +1733,7 @@ ZEXTERN int ZEXPORT inflateUndermine OF((z_streamp, int)); | |||
| 1733 | ZEXTERN int ZEXPORT inflateResetKeep OF((z_streamp)); | 1733 | ZEXTERN int ZEXPORT inflateResetKeep OF((z_streamp)); |
| 1734 | ZEXTERN int ZEXPORT deflateResetKeep OF((z_streamp)); | 1734 | ZEXTERN int ZEXPORT deflateResetKeep OF((z_streamp)); |
| 1735 | #if defined(_WIN32) && !defined(Z_SOLO) | 1735 | #if defined(_WIN32) && !defined(Z_SOLO) |
| 1736 | ZEXTERN gzFile ZEXPORT gzopen_w OF((const w_char *path, | 1736 | ZEXTERN gzFile ZEXPORT gzopen_w OF((const wchar_t *path, |
| 1737 | const char *mode)); | 1737 | const char *mode)); |
| 1738 | #endif | 1738 | #endif |
| 1739 | 1739 | ||
