diff options
author | Mika Lindqvist <postmaster@raasu.org> | 2018-03-22 11:01:18 +0200 |
---|---|---|
committer | Hans Kristian Rosbach <hk-github@circlestorm.org> | 2018-03-22 10:01:18 +0100 |
commit | ec6adfbfb0e482707b194de916f9325e64d2137d (patch) | |
tree | 9b4bc4a4933b851232327e5d9b40683d43a70840 /zutil.c | |
parent | 6f2fdf7b755f06bfe3d81c33fcfb9d5f12bad0da (diff) |
[MSVC] Fix size_t/ssize_t when using ZLIB_COMPAT. (#161)
* zconf.h.in wasn't including Windows.h, that is correct header to include definitions from BaseTsd.h, and such missing required type definition for ssize_t when compiling using MS Visual C++
* Various places need implicit casting to z_size_t to get around compatibility issues, this will truncate the result when ZLIB_COMPAT is defined, calling code should check for truncation.
* Add ZLIB_COMPAT flag to nmake Makefile and use it to determine correct
filenames instead of WITH_GZFILEOP
Diffstat (limited to 'zutil.c')
0 files changed, 0 insertions, 0 deletions