diff options
author | Han-Wen Nienhuys <hanwen@google.com> | 2021-10-07 22:25:03 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-10-08 19:45:48 +0200 |
commit | a322920d0bb8a930c17dd824990f7e5fd026bb3f (patch) | |
tree | cf30790510129aa407a00ae899b0874ef6b23e4a /config.mak.uname | |
parent | reftable: (de)serialization for the polymorphic record type. (diff) | |
download | git-a322920d0bb8a930c17dd824990f7e5fd026bb3f.tar.xz git-a322920d0bb8a930c17dd824990f7e5fd026bb3f.zip |
Provide zlib's uncompress2 from compat/zlib-compat.c
This will be needed for reading reflog blocks in reftable.
Helped-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'config.mak.uname')
-rw-r--r-- | config.mak.uname | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config.mak.uname b/config.mak.uname index 76516aaa9a..9399247cbb 100644 --- a/config.mak.uname +++ b/config.mak.uname @@ -258,6 +258,10 @@ ifeq ($(uname_S),FreeBSD) FILENO_IS_A_MACRO = UnfortunatelyYes endif ifeq ($(uname_S),OpenBSD) + # Versions < 7.0 need compatibility layer + ifeq ($(shell expr "$(uname_R)" : "[1-6]\."),2) + NO_UNCOMPRESS2 = UnfortunatelyYes + endif NO_STRCASESTR = YesPlease NO_MEMMEM = YesPlease USE_ST_TIMESPEC = YesPlease @@ -513,6 +517,7 @@ ifeq ($(uname_S),Interix) endif endif ifeq ($(uname_S),Minix) + NO_UNCOMPRESS2 = YesPlease NO_IPV6 = YesPlease NO_ST_BLOCKS_IN_STRUCT_STAT = YesPlease NO_NSEC = YesPlease |