summaryrefslogtreecommitdiff
path: root/reftable
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2022-02-16 15:14:29 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-02-16 15:14:30 -0800
commit00e38ba6d801143a10f762d781e3e885243caa42 (patch)
tree0f423fcfd8edda84aca0f7a79da19295346bd15d /reftable
parentMerge branch 'tb/midx-bitmap-corruption-fix' (diff)
parentcompat: auto-detect if zlib has uncompress2() (diff)
downloadtgif-00e38ba6d801143a10f762d781e3e885243caa42.tar.xz
Merge branch 'ab/auto-detect-zlib-compress2'
The build procedure has been taught to notice older version of zlib and enable our replacement uncompress2() automatically. * ab/auto-detect-zlib-compress2: compat: auto-detect if zlib has uncompress2()
Diffstat (limited to 'reftable')
-rw-r--r--reftable/system.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/reftable/system.h b/reftable/system.h
index 4907306c0c..18f9207dfe 100644
--- a/reftable/system.h
+++ b/reftable/system.h
@@ -16,17 +16,6 @@ https://developers.google.com/open-source/licenses/bsd
#include "hash.h" /* hash ID, sizes.*/
#include "dir.h" /* remove_dir_recursively, for tests.*/
-#include <zlib.h>
-
-#ifdef NO_UNCOMPRESS2
-/*
- * This is uncompress2, which is only available in zlib >= 1.2.9
- * (released as of early 2017)
- */
-int uncompress2(Bytef *dest, uLongf *destLen, const Bytef *source,
- uLong *sourceLen);
-#endif
-
int hash_size(uint32_t id);
#endif