Skip to content
Snippets Groups Projects
Commit f3fcb92c authored by Mark Adler's avatar Mark Adler
Browse files

Use intptr_t for z_ssize_t on MSVC.

parent 8f147c3d
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
Loading
Loading
@@ -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
Loading
Loading
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment