Merge pull request #1565 from bachp/zlib-win-ce

make zlib build correctly again with newer Windows CE versions
This commit is contained in:
Günter Obiltschnig 2017-01-25 09:37:13 +01:00 committed by GitHub
commit f409b87343

View File

@ -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.
*/