Merge branch 'ds/maint-deflatebound'

* ds/maint-deflatebound:
  Improve accuracy of check for presence of deflateBound.
This commit is contained in:
Junio C Hamano
2007-11-07 18:17:20 -08:00
4 changed files with 28 additions and 1 deletions

View File

@ -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