mirror of https://github.com/madler/zlib.git
gzflags() was put in gzwrite.c in order to be compiled exactly the same as gzprintf(), so that it was guaranteed to return the correct information. However that causes a static linkage to zlib to bring in many routines that are often not used. All that is required to duplicate the compilation environment of gzprintf() is to include gzguts.h. So that is now done in zutil.c to assure that the correct flags are returned.pull/3/head^2
parent
a8d23bb675
commit
55b8b5fec1
12 changed files with 26 additions and 47 deletions
Loading…
Reference in new issue