Make `gzip' module compile on WinCE.

* src/gzip/zconf.h [_WIN32_WCE]: Define NO_ERRNO_H.
This commit is contained in:
Vincent Richomme 2009-03-19 08:17:50 +01:00 committed by Werner Lemberg
parent 80c253f9e8
commit 91b127f70e
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2009-03-19 Vincent Richomme <richom.v@free.fr>
Make `gzip' module compile on WinCE.
* src/gzip/zconf.h [_WIN32_WCE]: Define NO_ERRNO_H.
2009-03-19 Werner Lemberg <wl@gnu.org>
Remove unused WinCE code.

View File

@ -60,6 +60,12 @@
# define MSDOS
#endif
/* WinCE doesn't have errno.h */
#ifdef _WIN32_WCE
# define NO_ERRNO_H
#endif
/*
* Compile with -DMAXSEG_64K if the alloc function cannot allocate more
* than 64k bytes at a time (needed on systems with 16-bit int).