aboutsummaryrefslogtreecommitdiff
path: root/zconf.h
diff options
context:
space:
mode:
authorAlexander Miller <alex.miller@gmx.de>2024-03-11 22:24:14 +0100
committerMark Adler <madler@alumni.caltech.edu>2024-03-16 11:18:50 -0700
commitf02ea29e5f5f1b14e71dfdf44bf39ee969ca9bde (patch)
tree99debedf9a82e19807b7aabff8b556d804752a2e /zconf.h
parent9f418e1028d98cd4782fd3a2b883eaaf1a09cae5 (diff)
downloadzlib-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