mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-10 14:41:43 +00:00
update zlib-ng to 2.0.3
This commit is contained in:
parent
ab15fd07a6
commit
d2f4388ee3
3 changed files with 20 additions and 5 deletions
12
deps/zlib-ng/include/zconf.h
vendored
12
deps/zlib-ng/include/zconf.h
vendored
|
@ -102,6 +102,18 @@
|
|||
# define Z_EXPORTVA
|
||||
#endif
|
||||
|
||||
/* For backwards compatibility */
|
||||
|
||||
#ifndef ZEXTERN
|
||||
# define ZEXTERN Z_EXTERN
|
||||
#endif
|
||||
#ifndef ZEXPORT
|
||||
# define ZEXPORT Z_EXPORT
|
||||
#endif
|
||||
#ifndef ZEXPORTVA
|
||||
# define ZEXPORTVA Z_EXPORTVA
|
||||
#endif
|
||||
|
||||
/* Fallback for something that includes us. */
|
||||
typedef unsigned char Byte;
|
||||
typedef Byte Bytef;
|
||||
|
|
13
deps/zlib-ng/include/zlib.h
vendored
13
deps/zlib-ng/include/zlib.h
vendored
|
@ -26,7 +26,7 @@
|
|||
|
||||
|
||||
The data format used by the zlib library is described by RFCs (Request for
|
||||
Comments) 1950 to 1952 in the files http://tools.ietf.org/html/rfc1950
|
||||
Comments) 1950 to 1952 in the files https://tools.ietf.org/html/rfc1950
|
||||
(zlib format), rfc1951 (deflate format) and rfc1952 (gzip format).
|
||||
*/
|
||||
|
||||
|
@ -46,11 +46,11 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define ZLIBNG_VERSION "2.0.2"
|
||||
#define ZLIBNG_VERNUM 0x2020
|
||||
#define ZLIBNG_VERSION "2.0.3"
|
||||
#define ZLIBNG_VERNUM 0x2030
|
||||
#define ZLIBNG_VER_MAJOR 2
|
||||
#define ZLIBNG_VER_MINOR 0
|
||||
#define ZLIBNG_VER_REVISION 2
|
||||
#define ZLIBNG_VER_REVISION 3
|
||||
#define ZLIBNG_VER_SUBREVISION 0
|
||||
|
||||
#define ZLIB_VERSION "1.2.11.zlib-ng"
|
||||
|
@ -1192,6 +1192,8 @@ Z_EXTERN unsigned long Z_EXPORT zlibCompileFlags(void);
|
|||
*/
|
||||
|
||||
|
||||
#ifndef Z_SOLO
|
||||
|
||||
/* utility functions */
|
||||
|
||||
/*
|
||||
|
@ -1646,6 +1648,7 @@ Z_EXTERN void Z_EXPORT gzclearerr(gzFile file);
|
|||
file that is being written concurrently.
|
||||
*/
|
||||
|
||||
#endif
|
||||
|
||||
/* checksum functions */
|
||||
|
||||
|
@ -1794,7 +1797,7 @@ Z_EXTERN int Z_EXPORT gzgetc_(gzFile file); /* backward compatibility */
|
|||
Z_EXTERN void Z_EXPORT crc32_combine_gen64(uint32_t *op, z_off64_t);
|
||||
#endif
|
||||
|
||||
#if !defined(ZLIB_INTERNAL) && defined(Z_WANT64)
|
||||
#if !defined(Z_INTERNAL) && defined(Z_WANT64)
|
||||
# define gzopen gzopen64
|
||||
# define gzseek gzseek64
|
||||
# define gztell gztell64
|
||||
|
|
BIN
deps/zlib-ng/lib/libz.a
vendored
BIN
deps/zlib-ng/lib/libz.a
vendored
Binary file not shown.
Loading…
Reference in a new issue