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>2007-11-08 05:17:20 +0300
committerJunio C Hamano <gitster@pobox.com>2007-11-08 05:17:20 +0300
commit03800743156fe4f331a10c0983b9d633bed3a687 (patch)
tree56b7e501ff7ebaf057849108c839fff569aa8f39 /cache.h
parent7481ebe9918771a9269c7fd0e91e855f18f2bc52 (diff)
parent609a2289d76fd9a7dddceabc63d1654fe61e0ffb (diff)
Merge branch 'ds/maint-deflatebound'
* ds/maint-deflatebound: Improve accuracy of check for presence of deflateBound.
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index 497b9f962d..f0a25c7ffc 100644
--- a/cache.h
+++ b/cache.h
@@ -7,7 +7,7 @@
#include SHA1_HEADER
#include <zlib.h>
-#if ZLIB_VERNUM < 0x1200
+#if defined(NO_DEFLATE_BOUND) || ZLIB_VERNUM < 0x1200
#define deflateBound(c,s) ((s) + (((s) + 7) >> 3) + (((s) + 63) >> 6) + 11)
#endif