#define ALLOC(size) malloc(size)
#define TRYFREE(p) {if (p) free(p);}
+/* there is no errno under Windows CE, provide a dummy one to avoid modifying
+ too much code in this file */
+#ifdef _WIN32_WCE
+static int errno;
+#endif
+
static int const gz_magic[2] = {0x1f, 0x8b}; /* gzip magic header */
/* gzip flag byte */