diff options
Diffstat (limited to 'zutil.h')
-rw-r--r-- | zutil.h | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -29,10 +29,6 @@ | |||
29 | # include <stdlib.h> | 29 | # include <stdlib.h> |
30 | #endif | 30 | #endif |
31 | 31 | ||
32 | #ifdef Z_SOLO | ||
33 | typedef long ptrdiff_t; /* guess -- will be caught if guess is wrong */ | ||
34 | #endif | ||
35 | |||
36 | #ifndef local | 32 | #ifndef local |
37 | # define local static | 33 | # define local static |
38 | #endif | 34 | #endif |
@@ -170,10 +166,6 @@ extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */ | |||
170 | #if (defined(_MSC_VER) && (_MSC_VER > 600)) && !defined __INTERIX | 166 | #if (defined(_MSC_VER) && (_MSC_VER > 600)) && !defined __INTERIX |
171 | # if defined(_WIN32_WCE) | 167 | # if defined(_WIN32_WCE) |
172 | # define fdopen(fd,mode) NULL /* No fdopen() */ | 168 | # define fdopen(fd,mode) NULL /* No fdopen() */ |
173 | # ifndef _PTRDIFF_T_DEFINED | ||
174 | typedef int ptrdiff_t; | ||
175 | # define _PTRDIFF_T_DEFINED | ||
176 | # endif | ||
177 | # else | 169 | # else |
178 | # define fdopen(fd,type) _fdopen(fd,type) | 170 | # define fdopen(fd,type) _fdopen(fd,type) |
179 | # endif | 171 | # endif |