提交 f3fcb92c 编写于 作者: M Mark Adler

Use intptr_t for z_ssize_t on MSVC.

上级 8f147c3d
......@@ -240,8 +240,13 @@
# ifdef NO_SSIZE_T
typedef NO_SSIZE_T z_ssize_t;
# else
# include <stddef.h>
# include <sys/types.h>
typedef ssize_t z_ssize_t;
# ifdef _MSC_VER
typedef intptr_t z_ssize_t;
# else
typedef ssize_t z_ssize_t;
# endif
# endif
# undef z_longlong
#endif
......
......@@ -242,8 +242,13 @@
# ifdef NO_SSIZE_T
typedef NO_SSIZE_T z_ssize_t;
# else
# include <stddef.h>
# include <sys/types.h>
typedef ssize_t z_ssize_t;
# ifdef _MSC_VER
typedef intptr_t z_ssize_t;
# else
typedef ssize_t z_ssize_t;
# endif
# endif
# undef z_longlong
#endif
......
......@@ -240,8 +240,13 @@
# ifdef NO_SSIZE_T
typedef NO_SSIZE_T z_ssize_t;
# else
# include <stddef.h>
# include <sys/types.h>
typedef ssize_t z_ssize_t;
# ifdef _MSC_VER
typedef intptr_t z_ssize_t;
# else
typedef ssize_t z_ssize_t;
# endif
# endif
# undef z_longlong
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册