From 0484693e1723bbab791c56f95597bd7dbe867d03 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Fri, 9 Sep 2011 23:24:33 -0700 Subject: zlib 1.2.2.2 --- zutil.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'zutil.c') diff --git a/zutil.c b/zutil.c index 6c08d13..868d42f 100644 --- a/zutil.c +++ b/zutil.c @@ -137,7 +137,10 @@ const char * ZEXPORT zError(err) } #if defined(_WIN32_WCE) - /* does not exist on WCE */ + /* The 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. + */ int errno = 0; #endif -- cgit v1.2.3-55-g6feb