aboutsummaryrefslogtreecommitdiff
path: root/zutil.c
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2017-02-11 22:48:31 -0800
committerMark Adler <madler@alumni.caltech.edu>2017-02-15 22:39:26 -0800
commite1f1a3a1469c91b15ea1d31f1c2b92bdc27879fa (patch)
tree8117c19548b9964bce8b3cb24d087c597c721621 /zutil.c
parent793ad7f559555757e6443ea591ce70de5505fc69 (diff)
downloadzlib-e1f1a3a1469c91b15ea1d31f1c2b92bdc27879fa.tar.gz
zlib-e1f1a3a1469c91b15ea1d31f1c2b92bdc27879fa.tar.bz2
zlib-e1f1a3a1469c91b15ea1d31f1c2b92bdc27879fa.zip
Update use of errno for newer Windows CE versions.
Diffstat (limited to 'zutil.c')
-rw-r--r--zutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zutil.c b/zutil.c
index a76c6b0..dcab28a 100644
--- a/zutil.c
+++ b/zutil.c
@@ -136,8 +136,8 @@ const char * ZEXPORT zError(err)
136 return ERR_MSG(err); 136 return ERR_MSG(err);
137} 137}
138 138
139#if defined(_WIN32_WCE) 139#if defined(_WIN32_WCE) && _WIN32_WCE < 0x800
140 /* The Microsoft C Run-Time Library for Windows CE doesn't have 140 /* The older Microsoft C Run-Time Library for Windows CE doesn't have
141 * errno. We define it as a global variable to simplify porting. 141 * errno. We define it as a global variable to simplify porting.
142 * Its value is always 0 and should not be used. 142 * Its value is always 0 and should not be used.
143 */ 143 */