mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-07 06:04:44 +00:00
zlib: add a few missing defines
This commit is contained in:
parent
bb54fad045
commit
a9185589f9
3
deps/zlib/zconf.h
vendored
3
deps/zlib/zconf.h
vendored
@ -33,10 +33,12 @@
|
|||||||
# define FAR
|
# define FAR
|
||||||
#endif
|
#endif
|
||||||
#define OF(args) args
|
#define OF(args) args
|
||||||
|
#define Z_ARG(args) args
|
||||||
|
|
||||||
typedef unsigned char Byte; /* 8 bits */
|
typedef unsigned char Byte; /* 8 bits */
|
||||||
typedef unsigned int uInt; /* 16 bits or more */
|
typedef unsigned int uInt; /* 16 bits or more */
|
||||||
typedef unsigned long uLong; /* 32 bits or more */
|
typedef unsigned long uLong; /* 32 bits or more */
|
||||||
|
typedef unsigned long z_crc_t;
|
||||||
|
|
||||||
typedef Byte FAR Bytef;
|
typedef Byte FAR Bytef;
|
||||||
typedef char FAR charf;
|
typedef char FAR charf;
|
||||||
@ -50,5 +52,6 @@ typedef void *voidp;
|
|||||||
|
|
||||||
#define z_off_t git_off_t
|
#define z_off_t git_off_t
|
||||||
#define z_off64_t z_off_t
|
#define z_off64_t z_off_t
|
||||||
|
#define z_const const
|
||||||
|
|
||||||
#endif /* ZCONF_H */
|
#endif /* ZCONF_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user