summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Richomme <richom.v@free.fr>2009-03-19 08:17:50 +0100
committerWerner Lemberg <wl@gnu.org>2009-03-19 08:17:50 +0100
commit91b127f70e76e4f94b6a7264c99a3270f5e9d12d (patch)
tree9b5fab3188c748c021c2d82a01a81465e7bdfee2
parent80c253f9e88e2fd94deaaa692d776314b2eaa504 (diff)
downloadfreetype2-91b127f70e76e4f94b6a7264c99a3270f5e9d12d.tar.gz
Make `gzip' module compile on WinCE.
* src/gzip/zconf.h [_WIN32_WCE]: Define NO_ERRNO_H.
-rw-r--r--ChangeLog6
-rw-r--r--src/gzip/zconf.h6
2 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 731581761..a75f0511e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
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).