Use intptr_t for z_ssize_t on MSVC.
This commit is contained in:
parent
8f147c3d12
commit
f3fcb92cf6
5
zconf.h
5
zconf.h
@ -240,9 +240,14 @@
|
||||
# ifdef NO_SSIZE_T
|
||||
typedef NO_SSIZE_T z_ssize_t;
|
||||
# else
|
||||
# include <stddef.h>
|
||||
# include <sys/types.h>
|
||||
# ifdef _MSC_VER
|
||||
typedef intptr_t z_ssize_t;
|
||||
# else
|
||||
typedef ssize_t z_ssize_t;
|
||||
# endif
|
||||
# endif
|
||||
# undef z_longlong
|
||||
#endif
|
||||
|
||||
|
@ -242,9 +242,14 @@
|
||||
# ifdef NO_SSIZE_T
|
||||
typedef NO_SSIZE_T z_ssize_t;
|
||||
# else
|
||||
# include <stddef.h>
|
||||
# include <sys/types.h>
|
||||
# ifdef _MSC_VER
|
||||
typedef intptr_t z_ssize_t;
|
||||
# else
|
||||
typedef ssize_t z_ssize_t;
|
||||
# endif
|
||||
# endif
|
||||
# undef z_longlong
|
||||
#endif
|
||||
|
||||
|
@ -240,9 +240,14 @@
|
||||
# ifdef NO_SSIZE_T
|
||||
typedef NO_SSIZE_T z_ssize_t;
|
||||
# else
|
||||
# include <stddef.h>
|
||||
# include <sys/types.h>
|
||||
# ifdef _MSC_VER
|
||||
typedef intptr_t z_ssize_t;
|
||||
# else
|
||||
typedef ssize_t z_ssize_t;
|
||||
# endif
|
||||
# endif
|
||||
# undef z_longlong
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user