Fix [ Bug #129293 ] zlib library used for binary win32 distribution can crash

This involves changing the zlib build process to build zlib itself from sources, then use that library.  Also updated are the comments to reflect the new official home of zlib, and add Windows specific notes regarding the build process.
This commit is contained in:
Mark Hammond 2001-01-31 10:28:03 +00:00
parent 0850137fe4
commit ae8c268a2b
2 changed files with 25 additions and 6 deletions

View file

@ -1,6 +1,15 @@
/* zlibmodule.c -- gzip-compatible data compression */
/* See http://www.cdrom.com/pub/infozip/zlib/ */
/* See http://www.winimage.com/zLibDll for Windows */
/* See http://www.info-zip.org/pub/infozip/zlib/ */
/* *** Notes for Windows Users ***
* Download the source distribution as referenced above.
* Unpack the distribution such that a "..\..\zlib-1.1.3" directory is created
relative to the "pcbuild" directory.
* Build this "zlib" project. Via from MSVC magic, the correct zlib makefile will
be run, and "..\..\zlib-1.1.3\zlib.lib" will be built before zlib.pyd.
*** End of notes for Windows users ***
*/
#include "Python.h"
#include "zlib.h"