ref: 91b127f70e76e4f94b6a7264c99a3270f5e9d12d
parent: 80c253f9e88e2fd94deaaa692d776314b2eaa504
author: Vincent Richomme <[email protected]>
date: Thu Mar 19 04:17:50 EDT 2009
Make `gzip' module compile on WinCE. * src/gzip/zconf.h [_WIN32_WCE]: Define NO_ERRNO_H.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-03-19 Vincent Richomme <[email protected]>
+
+ Make `gzip' module compile on WinCE.
+
+ * src/gzip/zconf.h [_WIN32_WCE]: Define NO_ERRNO_H.
+
2009-03-19 Werner Lemberg <[email protected]>
Remove unused WinCE code.
--- 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).