Deleted Added
full compact
2c2
< * Copyright (C) 1995-1996 Jean-loup Gailly.
---
> * Copyright (C) 1995-1998 Jean-loup Gailly.
6c6
< /* $FreeBSD: head/lib/libz/zconf.h 21673 1997-01-14 07:20:47Z jkh $ */
---
> /* $FreeBSD: head/lib/libz/zconf.h 33908 1998-02-28 06:08:17Z steve $ */
29a30
> # define inflateSyncPoint z_inflateSyncPoint
31a33
> # define compress2 z_compress2
75,76c77,80
< #if (defined(__STDC__) || defined(__cplusplus)) && !defined(STDC)
< # define STDC
---
> #if defined(__STDC__) || defined(__cplusplus) || defined(__OS2__)
> # ifndef STDC
> # define STDC
> # endif
89a94,99
> /* Borland C incorrectly complains about missing returns: */
> #if defined(__BORLANDC__)
> # define NEED_DUMMY_RETURN
> #endif
>
>
99c109,113
< /* Maximum value for windowBits in deflateInit2 and inflateInit2 */
---
> /* Maximum value for windowBits in deflateInit2 and inflateInit2.
> * WARNING: reducing MAX_WBITS makes minigzip unable to extract .gz files
> * created by gzip. (Files created by minigzip can still be extracted by
> * gzip.)
> */
105c119
< 1 << (windowBits+2) + 1 << (memLevel+9)
---
> (1 << (windowBits+2)) + (1 << (memLevel+9))
147a162,184
>
> /* Compile with -DZLIB_DLL for Windows DLL support */
> #if (defined(_WINDOWS) || defined(WINDOWS)) && defined(ZLIB_DLL)
> # ifdef FAR
> # undef FAR
> # endif
> # include <windows.h>
> # define ZEXPORT WINAPI
> # ifdef WIN32
> # define ZEXPORTVA WINAPIV
> # else
> # define ZEXPORTVA FAR _cdecl _export
> # endif
> #else
> # if defined (__BORLANDC__) && defined (_Windows) && defined (__DLL__)
> # define ZEXPORT _export
> # define ZEXPORTVA _export
> # else
> # define ZEXPORT
> # define ZEXPORTVA
> # endif
> #endif
>
174a212,223
> #ifdef HAVE_UNISTD_H
> # include <sys/types.h> /* for off_t */
> # include <unistd.h> /* for SEEK_* and off_t */
> # define z_off_t off_t
> #endif
> #ifndef SEEK_SET
> # define SEEK_SET 0 /* Seek from beginning of file. */
> # define SEEK_CUR 1 /* Seek from current position. */
> #endif
> #ifndef z_off_t
> # define z_off_t long
> #endif
176,181c225,249
< /* Compile with -DZLIB_DLL for Windows DLL support */
< #if (defined(_WINDOWS) || defined(WINDOWS)) && defined(ZLIB_DLL)
< # include <windows.h>
< # define EXPORT WINAPI
< #else
< # define EXPORT
---
> /* MVS linker does not support external names larger than 8 bytes */
> #if defined(__MVS__)
> # pragma map(deflateInit_,"DEIN")
> # pragma map(deflateInit2_,"DEIN2")
> # pragma map(deflateEnd,"DEEND")
> # pragma map(inflateInit_,"ININ")
> # pragma map(inflateInit2_,"ININ2")
> # pragma map(inflateEnd,"INEND")
> # pragma map(inflateSync,"INSY")
> # pragma map(inflateSetDictionary,"INSEDI")
> # pragma map(inflate_blocks,"INBL")
> # pragma map(inflate_blocks_new,"INBLNE")
> # pragma map(inflate_blocks_free,"INBLFR")
> # pragma map(inflate_blocks_reset,"INBLRE")
> # pragma map(inflate_codes_free,"INCOFR")
> # pragma map(inflate_codes,"INCO")
> # pragma map(inflate_fast,"INFA")
> # pragma map(inflate_flush,"INFLU")
> # pragma map(inflate_mask,"INMA")
> # pragma map(inflate_set_dictionary,"INSEDI2")
> # pragma map(inflate_copyright,"INCOPY")
> # pragma map(inflate_trees_bits,"INTRBI")
> # pragma map(inflate_trees_dynamic,"INTRDY")
> # pragma map(inflate_trees_fixed,"INTRFI")
> # pragma map(inflate_trees_free,"INTRFR")