]> git.ipfire.org Git - thirdparty/zlib-ng.git/commit
Make a noble effort at setting OS_CODE correctly.
authorMark Adler <madler@alumni.caltech.edu>
Wed, 26 Oct 2016 03:45:41 +0000 (20:45 -0700)
committerMark Adler <madler@alumni.caltech.edu>
Wed, 26 Oct 2016 03:45:41 +0000 (20:45 -0700)
commitce12c5cd00628bf8f680c98123a369974d32df15
tree6aaf3750f4bc70ddd721926766b87fff0840d5b1
parentb516b4bdd7c0c9f0858adfebf732089014f7b282
Make a noble effort at setting OS_CODE correctly.

This updates the OS_CODE determination at compile time to match as
closely as possible the operating system mappings documented in
the PKWare APPNOTE.TXT version 6.3.4, section 4.4.2.2. That byte
in the gzip header is used by nobody for anything, as far as I can
tell. However we might as well try to set it appropriately.
zutil.h