On 28/03/2022 07:46, David Holmes wrote:
Hi Jai,
It isn't obvious to me that the bundled sources are actually intended
to build on macOS. There's no include of unistd.h to get the lseek
definition.
I think the context here is that Jai is chasing an issue that may be bug
in the libz on macOS. Building the bundled version and comparing results
would lead to useful information. AFAIK, the system zlib has always been
used since 7u4 when the macOS was added. I think the Apple JDK did the
same. So there may be a small bit of "porting" to do, adds include
files, etc.
-Alan