X-Git-Url: https://repo.jachan.dev/binutils.git/blobdiff_plain/de1ab01e8ebf04a3503d8450e6b924c7bb160853..HEAD:/zlib/zutil.c diff --git a/zlib/zutil.c b/zlib/zutil.c index 166d8779cc..dcab28a0d5 100644 --- a/zlib/zutil.c +++ b/zlib/zutil.c @@ -1,9 +1,9 @@ /* zutil.c -- target dependent utility functions for the compression library - * Copyright (C) 1995-2005, 2010, 2011, 2012, 2016 Jean-loup Gailly + * Copyright (C) 1995-2017 Jean-loup Gailly * 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. */