aboutsummaryrefslogtreecommitdiff
path: root/zlib/zutil.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2022-04-12 16:24:10 +0100
committerNick Clifton <nickc@redhat.com>2022-04-12 16:24:10 +0100
commit8e6b35366073a1a71df805061ecf016cc915a9f9 (patch)
tree6ddbc8123ab4bdbcd3fba1a4c6e0f1091f66964e /zlib/zutil.c
parent63e0ee15a327b933a9e325908f6e5b334106290c (diff)
downloadgdb-8e6b35366073a1a71df805061ecf016cc915a9f9.zip
gdb-8e6b35366073a1a71df805061ecf016cc915a9f9.tar.gz
gdb-8e6b35366073a1a71df805061ecf016cc915a9f9.tar.bz2
Rebase the zlib sources to the 1.2.12 release
Diffstat (limited to 'zlib/zutil.c')
-rw-r--r--zlib/zutil.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/zlib/zutil.c b/zlib/zutil.c
index 08787c6..dcab28a 100644
--- a/zlib/zutil.c
+++ b/zlib/zutil.c
@@ -3,7 +3,7 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/
-/* @(#) $Id: zutil.c,v 1.1.1.2 2002/03/11 21:53:27 tromey Exp $ */
+/* @(#) $Id$ */
#include "zutil.h"
#ifndef Z_SOLO
@@ -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.
*/