summaryrefslogtreecommitdiffstats
path: root/third_party/zlib/zutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/zlib/zutil.c')
-rw-r--r--third_party/zlib/zutil.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/third_party/zlib/zutil.c b/third_party/zlib/zutil.c
index 4a51340..ca08ea6 100644
--- a/third_party/zlib/zutil.c
+++ b/third_party/zlib/zutil.c
@@ -141,7 +141,9 @@ const char * ZEXPORT zError(err)
* errno. We define it as a global variable to simplify porting.
* Its value is always 0 and should not be used.
*/
- int errno = 0;
+ // Google Gears modification: zutil.h defines errno as z_errno for WinCE.
+ //int errno = 0;
+ int z_errno = 0;
#endif
#ifndef HAVE_MEMCPY