X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=zutil.c;h=dcab28a0d5177a5f9c051cf33b11b257e9c1c7fe;hb=3c46f5ddb5d4c6203805209076249dd80589682b;hp=a76c6b0c7e557f8c29cfcf58a5ef9ef79c5e4e8a;hpb=cacf7f1d4e3d44d871b605da3b647f07d718623f;p=zlib.git diff --git a/zutil.c b/zutil.c index a76c6b0..dcab28a 100644 --- a/zutil.c +++ b/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. */