diff options
Diffstat (limited to 'zconf.h')
-rw-r--r-- | zconf.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -240,8 +240,13 @@ | |||
240 | # ifdef NO_SSIZE_T | 240 | # ifdef NO_SSIZE_T |
241 | typedef NO_SSIZE_T z_ssize_t; | 241 | typedef NO_SSIZE_T z_ssize_t; |
242 | # else | 242 | # else |
243 | # include <stddef.h> | ||
243 | # include <sys/types.h> | 244 | # include <sys/types.h> |
244 | typedef ssize_t z_ssize_t; | 245 | # ifdef _MSC_VER |
246 | typedef intptr_t z_ssize_t; | ||
247 | # else | ||
248 | typedef ssize_t z_ssize_t; | ||
249 | # endif | ||
245 | # endif | 250 | # endif |
246 | # undef z_longlong | 251 | # undef z_longlong |
247 | #endif | 252 | #endif |