]> git.ipfire.org Git - thirdparty/zlib-ng.git/commit
Make a noble effort at setting OS_CODE correctly.
authorHans Kristian Rosbach <hk-git@circlestorm.org>
Wed, 1 Feb 2017 11:33:12 +0000 (12:33 +0100)
committerHans Kristian Rosbach <hk-git@circlestorm.org>
Wed, 1 Feb 2017 11:33:12 +0000 (12:33 +0100)
commit3afcff55dcd9dfe44980eebd097250fb2b78e0fe
treed4856c0484a3ee8615b210e2589829cbf40632c4
parent6d55bd6a784d881a4b778c9354f462bde1ceee12
Make a noble effort at setting OS_CODE correctly.

Based on upstream commit ce12c5cd00628bf8f680c98123a369974d32df15

Original patch notes:
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