diff options
Diffstat (limited to 'zutil.c')
-rw-r--r-- | zutil.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -137,7 +137,10 @@ const char * ZEXPORT zError(err) | |||
137 | } | 137 | } |
138 | 138 | ||
139 | #if defined(_WIN32_WCE) | 139 | #if defined(_WIN32_WCE) |
140 | /* does not exist on WCE */ | 140 | /* The Microsoft C Run-Time Library for Windows CE doesn't have |
141 | * errno. We define it as a global variable to simplify porting. | ||
142 | * Its value is always 0 and should not be used. | ||
143 | */ | ||
141 | int errno = 0; | 144 | int errno = 0; |
142 | #endif | 145 | #endif |
143 | 146 | ||