summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/zlib/src/zutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/zlib/src/zutil.c')
-rw-r--r--src/3rdparty/zlib/src/zutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/3rdparty/zlib/src/zutil.c b/src/3rdparty/zlib/src/zutil.c
index a76c6b0c7e..dcab28a0d5 100644
--- a/src/3rdparty/zlib/src/zutil.c
+++ b/src/3rdparty/zlib/src/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.
*/