aboutsummaryrefslogtreecommitdiff
path: root/lib/zlib/zutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zlib/zutil.c')
-rw-r--r--lib/zlib/zutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/zlib/zutil.c b/lib/zlib/zutil.c
index 5c9625f..ca3af50 100644
--- a/lib/zlib/zutil.c
+++ b/lib/zlib/zutil.c
@@ -142,8 +142,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.
*/