[Zlib-devel] win32/Makefile.gcc

John Bowler jbowler at frontiernet.net
Sun Apr 11 15:29:54 EDT 2010


How about the attached patch?  It's a lot friendlier than an 'exit 1' - it simply copies win32/Makefile.gcc to 'Makefile' (as well as pointing the user towards win32/DLL_FAQ.txt).

I noticed two issues that arise with win32/Makefile.gcc that should probably be checked:

1) Z_HAVE_UNISTD_H is not defined, so the build does not load <unistd.h>
2) win32/Makefile.gcc does not set _LARGEFILE64_SOURCE

I don't think (2) makes any difference because _LFS64_LARGEFILE is not set in unistd.h (on MinGW); in fact, so far as I can see all the Windows builds can't handle large files in the GZ code (for reasons as discussed before.)

John Bowler <jbowler at acm.org>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: config1243.patch
Type: application/octet-stream
Size: 612 bytes
Desc: not available
URL: <http://madler.net/pipermail/zlib-devel_madler.net/attachments/20100411/a81150b7/attachment.obj>


More information about the Zlib-devel mailing list