diff options
author | Alexander Miller <alex.miller@gmx.de> | 2024-03-11 22:24:14 +0100 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2024-03-16 11:18:50 -0700 |
commit | f02ea29e5f5f1b14e71dfdf44bf39ee969ca9bde (patch) | |
tree | 99debedf9a82e19807b7aabff8b556d804752a2e /zconf.h | |
parent | 9f418e1028d98cd4782fd3a2b883eaaf1a09cae5 (diff) | |
download | zlib-f02ea29e5f5f1b14e71dfdf44bf39ee969ca9bde.tar.gz zlib-f02ea29e5f5f1b14e71dfdf44bf39ee969ca9bde.tar.bz2 zlib-f02ea29e5f5f1b14e71dfdf44bf39ee969ca9bde.zip |
Improve detection of UNIX-style systems in minizip.
Not all toolchains on UNIX-style operating systems predefine
"unix". For example, it's missing on NetBSD, OpenBSD/gcc, AIX,
HP-UX. There is no single macro defined everywhere, but checking
both "__unix__" and "__unix" should cover everything except macOS,
which is already checked for using "__APPLE__".
Note that case sensitivity should default to off on macOS and
cygwin, so the check there is different.
Diffstat (limited to 'zconf.h')
0 files changed, 0 insertions, 0 deletions