Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-02-17 02:14:29 +0300
committerJunio C Hamano <gitster@pobox.com>2022-02-17 02:14:30 +0300
commit00e38ba6d801143a10f762d781e3e885243caa42 (patch)
tree0f423fcfd8edda84aca0f7a79da19295346bd15d /reftable
parentf2cb46a6b3398308d148c037fdd786e6d45b59bf (diff)
parent07564773c2569d012719ab9e26b9b27251f3d354 (diff)
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