Use long as ssize_t on windows.
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
# define HAVE_SSIZE_T
|
# define HAVE_SSIZE_T
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#if (defined _WIN32) && (!defined ssize_t)
|
#if (defined _WIN32) && (!defined ssize_t)
|
||||||
typedef int ssize_t; // This is only for Windows. Supports only Win32.
|
typedef long ssize_t; // This is only for Windows. Supports only Win32.
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user