diff options
Diffstat (limited to '')
-rw-r--r-- | zconf.h.cmakein | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/zconf.h.cmakein b/zconf.h.cmakein index 70942e4..662fc3d 100644 --- a/zconf.h.cmakein +++ b/zconf.h.cmakein | |||
@@ -226,6 +226,21 @@ | |||
226 | # define z_const | 226 | # define z_const |
227 | #endif | 227 | #endif |
228 | 228 | ||
229 | #ifndef Z_SOLO | ||
230 | # ifdef NO_SIZE_T | ||
231 | typedef unsigned NO_SIZE_T z_size_t; | ||
232 | # else | ||
233 | # include <stddef.h> | ||
234 | typedef size_t z_size_t; | ||
235 | # endif | ||
236 | # ifdef NO_SSIZE_T | ||
237 | typedef NO_SSIZE_T z_ssize_t; | ||
238 | # else | ||
239 | # include <sys/types.h> | ||
240 | typedef ssize_t z_ssize_t; | ||
241 | # endif | ||
242 | #endif | ||
243 | |||
229 | /* Maximum value for memLevel in deflateInit2 */ | 244 | /* Maximum value for memLevel in deflateInit2 */ |
230 | #ifndef MAX_MEM_LEVEL | 245 | #ifndef MAX_MEM_LEVEL |
231 | # ifdef MAXSEG_64K | 246 | # ifdef MAXSEG_64K |