summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-06-11 18:03:37 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2014-06-11 18:03:37 +0200
commita9185589f9416c18628e2d1309b215077c5712b1 (patch)
treeef57f3a29eed4e3e5ca68ae5e68a058d8f6b73ac
parentbb54fad0452fbcc876c4cfcb42f4590a2cb23be6 (diff)
downloadlibgit2-a9185589f9416c18628e2d1309b215077c5712b1.tar.gz
zlib: add a few missing defines
-rw-r--r--deps/zlib/zconf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/deps/zlib/zconf.h b/deps/zlib/zconf.h
index 150814361..e87f145fe 100644
--- a/deps/zlib/zconf.h
+++ b/deps/zlib/zconf.h
@@ -33,10 +33,12 @@
# define FAR
#endif
#define OF(args) args
+#define Z_ARG(args) args
typedef unsigned char Byte; /* 8 bits */
typedef unsigned int uInt; /* 16 bits or more */
typedef unsigned long uLong; /* 32 bits or more */
+typedef unsigned long z_crc_t;
typedef Byte FAR Bytef;
typedef char FAR charf;
@@ -50,5 +52,6 @@ typedef void *voidp;
#define z_off_t git_off_t
#define z_off64_t z_off_t
+#define z_const const
#endif /* ZCONF_H */