aboutsummaryrefslogtreecommitdiff
path: root/dep/zlib/zutil.c
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2022-04-11 15:02:19 +0200
committerShauren <shauren.trinity@gmail.com>2022-04-11 15:02:19 +0200
commit092ae504f53063cc676d7fce8bec361e3f11ca14 (patch)
tree308e9ef9a0ee5013437f41ea553e228b0a2650d1 /dep/zlib/zutil.c
parent934a1ad498ea76503a7a0c37763fbb337927ae47 (diff)
Dep/zlib: Upgrade embedded zlib to 1.2.12
Diffstat (limited to 'dep/zlib/zutil.c')
-rw-r--r--dep/zlib/zutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dep/zlib/zutil.c b/dep/zlib/zutil.c
index a76c6b0c7e5..dcab28a0d51 100644
--- a/dep/zlib/zutil.c
+++ b/dep/zlib/zutil.c
@@ -136,8 +136,8 @@ const char * ZEXPORT zError(err)
return ERR_MSG(err);
}
-#if defined(_WIN32_WCE)
- /* The Microsoft C Run-Time Library for Windows CE doesn't have
+#if defined(_WIN32_WCE) && _WIN32_WCE < 0x800
+ /* The older Microsoft C Run-Time Library for Windows CE doesn't have
* errno. We define it as a global variable to simplify porting.
* Its value is always 0 and should not be used.
*/