diff options
Diffstat (limited to '')
-rw-r--r-- | zconf.h.cmakein | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/zconf.h.cmakein b/zconf.h.cmakein index a2f71b1..4a5d9ea 100644 --- a/zconf.h.cmakein +++ b/zconf.h.cmakein | |||
@@ -1,5 +1,5 @@ | |||
1 | /* zconf.h -- configuration of the zlib compression library | 1 | /* zconf.h -- configuration of the zlib compression library |
2 | * Copyright (C) 1995-2010 Jean-loup Gailly. | 2 | * Copyright (C) 1995-2011 Jean-loup Gailly. |
3 | * For conditions of distribution and use, see copyright notice in zlib.h | 3 | * For conditions of distribution and use, see copyright notice in zlib.h |
4 | */ | 4 | */ |
5 | 5 | ||
@@ -17,6 +17,7 @@ | |||
17 | * this permanently in zconf.h using "./configure --zprefix". | 17 | * this permanently in zconf.h using "./configure --zprefix". |
18 | */ | 18 | */ |
19 | #ifdef Z_PREFIX /* may be set to #if 1 by ./configure */ | 19 | #ifdef Z_PREFIX /* may be set to #if 1 by ./configure */ |
20 | # define Z_PREFIX_SET | ||
20 | 21 | ||
21 | /* all linked symbols */ | 22 | /* all linked symbols */ |
22 | # define _dist_code z__dist_code | 23 | # define _dist_code z__dist_code |
@@ -42,6 +43,7 @@ | |||
42 | # define deflateInit2_ z_deflateInit2_ | 43 | # define deflateInit2_ z_deflateInit2_ |
43 | # define deflateInit_ z_deflateInit_ | 44 | # define deflateInit_ z_deflateInit_ |
44 | # define deflateParams z_deflateParams | 45 | # define deflateParams z_deflateParams |
46 | # define deflatePending z_deflatePending | ||
45 | # define deflatePrime z_deflatePrime | 47 | # define deflatePrime z_deflatePrime |
46 | # define deflateReset z_deflateReset | 48 | # define deflateReset z_deflateReset |
47 | # define deflateSetDictionary z_deflateSetDictionary | 49 | # define deflateSetDictionary z_deflateSetDictionary |
@@ -245,6 +247,14 @@ | |||
245 | # endif | 247 | # endif |
246 | #endif | 248 | #endif |
247 | 249 | ||
250 | #ifndef ON /* function prototypes for stdarg */ | ||
251 | # if defined(STDC) || defined(Z_HAVE_STDARG_H) | ||
252 | # define ON(args) args | ||
253 | # else | ||
254 | # define ON(args) () | ||
255 | # endif | ||
256 | #endif | ||
257 | |||
248 | /* The following definitions for FAR are needed only for MSDOS mixed | 258 | /* The following definitions for FAR are needed only for MSDOS mixed |
249 | * model programming (small or medium model with some far allocations). | 259 | * model programming (small or medium model with some far allocations). |
250 | * This was tested only with MSC; for other MSDOS compilers you may have | 260 | * This was tested only with MSC; for other MSDOS compilers you may have |
@@ -362,6 +372,10 @@ typedef uLong FAR uLongf; | |||
362 | # define Z_HAVE_UNISTD_H | 372 | # define Z_HAVE_UNISTD_H |
363 | #endif | 373 | #endif |
364 | 374 | ||
375 | #ifdef HAVE_STDARG_H /* may be set to #if 1 by ./configure */ | ||
376 | # define Z_HAVE_STDARG_H | ||
377 | #endif | ||
378 | |||
365 | #ifdef STDC | 379 | #ifdef STDC |
366 | # include <sys/types.h> /* for off_t */ | 380 | # include <sys/types.h> /* for off_t */ |
367 | #endif | 381 | #endif |
@@ -376,7 +390,11 @@ typedef uLong FAR uLongf; | |||
376 | # undef _LARGEFILE64_SOURCE | 390 | # undef _LARGEFILE64_SOURCE |
377 | #endif | 391 | #endif |
378 | 392 | ||
379 | #if defined(Z_HAVE_UNISTD_H) || defined(_LARGEFILE64_SOURCE) | 393 | #if defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0 |
394 | # define Z_LARGE | ||
395 | #endif | ||
396 | |||
397 | #if defined(Z_HAVE_UNISTD_H) || defined(Z_LARGE) | ||
380 | # include <unistd.h> /* for SEEK_* and off_t */ | 398 | # include <unistd.h> /* for SEEK_* and off_t */ |
381 | # ifdef VMS | 399 | # ifdef VMS |
382 | # include <unixio.h> /* for off_t */ | 400 | # include <unixio.h> /* for off_t */ |