diff options
Diffstat (limited to 'zutil.h')
-rw-r--r-- | zutil.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -139,6 +139,10 @@ extern const char * const z_errmsg[10]; /* indexed by 2-zlib_error */ | |||
139 | #if (defined(_MSC_VER) && (_MSC_VER > 600)) | 139 | #if (defined(_MSC_VER) && (_MSC_VER > 600)) |
140 | # if defined(_WIN32_WCE) | 140 | # if defined(_WIN32_WCE) |
141 | # define fdopen(fd,mode) NULL /* No fdopen() */ | 141 | # define fdopen(fd,mode) NULL /* No fdopen() */ |
142 | # ifndef _PTRDIFF_T_DEFINED | ||
143 | typedef int ptrdiff_t; | ||
144 | # define _PTRDIFF_T_DEFINED | ||
145 | # endif | ||
142 | # else | 146 | # else |
143 | # define fdopen(fd,type) _fdopen(fd,type) | 147 | # define fdopen(fd,type) _fdopen(fd,type) |
144 | # endif | 148 | # endif |