From 91b127f70e76e4f94b6a7264c99a3270f5e9d12d Mon Sep 17 00:00:00 2001 From: Vincent Richomme Date: Thu, 19 Mar 2009 08:17:50 +0100 Subject: Make `gzip' module compile on WinCE. * src/gzip/zconf.h [_WIN32_WCE]: Define NO_ERRNO_H. --- ChangeLog | 6 ++++++ src/gzip/zconf.h | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index 731581761..a75f0511e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-03-19 Vincent Richomme + + Make `gzip' module compile on WinCE. + + * src/gzip/zconf.h [_WIN32_WCE]: Define NO_ERRNO_H. + 2009-03-19 Werner Lemberg Remove unused WinCE code. diff --git a/src/gzip/zconf.h b/src/gzip/zconf.h index 24ec0af24..3abf0ba03 100644 --- a/src/gzip/zconf.h +++ b/src/gzip/zconf.h @@ -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). -- cgit v1.2.1