compilation fix for WinCE

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-07-29 14:21:30 +00:00
parent 2f68482ef8
commit b0744f8068

View File

@@ -43,6 +43,12 @@ extern void free OF((voidpf ptr));
#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 */