mirror of https://github.com/madler/zlib
Update use of errno for newer Windows CE versions.
This commit is contained in:
parent
793ad7f559
commit
e1f1a3a146
4
zutil.c
4
zutil.c
|
@ -136,8 +136,8 @@ const char * ZEXPORT zError(err)
|
||||||
return ERR_MSG(err);
|
return ERR_MSG(err);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(_WIN32_WCE)
|
#if defined(_WIN32_WCE) && _WIN32_WCE < 0x800
|
||||||
/* The Microsoft C Run-Time Library for Windows CE doesn't have
|
/* The older Microsoft C Run-Time Library for Windows CE doesn't have
|
||||||
* errno. We define it as a global variable to simplify porting.
|
* errno. We define it as a global variable to simplify porting.
|
||||||
* Its value is always 0 and should not be used.
|
* Its value is always 0 and should not be used.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue