Use long as ssize_t on windows.
This commit is contained in:
1 parent
df97fcc725
commit
431576436f
1 file changed
+1
-1
@@ -25,7 +25,7 @@
|
||||
# define HAVE_SSIZE_T
|
||||
#include <sys/types.h>
|
||||
#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
|
||||
|
||||
|
||||
Reference in new issue
Block a user