mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 10:00:42 +00:00
24226419ed
The CMakeLists file for the static zlib checks for presence of
unistd.h, but it doesn't properly define HAVE_UNISTD_H if it's found.
This change adds the necessary preprocessor definition if unistd.h is
found.
Upstream zlib handles this with by configuring zconf.h with CMake:
|
||
---|---|---|
.. | ||
adler32.c | ||
ChangeLog | ||
CMakeLists.txt | ||
compress.c | ||
crc32.c | ||
crc32.h | ||
deflate.c | ||
deflate.h | ||
gzclose.c | ||
gzguts.h | ||
gzlib.c | ||
gzread.c | ||
gzwrite.c | ||
infback.c | ||
inffast.c | ||
inffast.h | ||
inffixed.h | ||
inflate.c | ||
inflate.h | ||
inftrees.c | ||
inftrees.h | ||
trees.c | ||
trees.h | ||
uncompr.c | ||
zconf.h | ||
zlib.h | ||
zlib.vcxproj | ||
zutil.c | ||
zutil.h |