Merge pull request #3883 from mattn/fix-ssize_t

fix build on mingw
This commit is contained in:
Yukihiro "Matz" Matsumoto
2017-12-12 17:31:26 +09:00
committed by GitHub
+2
View File
@@ -12,7 +12,9 @@
#include <windows.h>
#define SHUT_RDWR SD_BOTH
#ifndef _SSIZE_T_DEFINED
typedef int ssize_t;
#endif
#else
#include <sys/types.h>
#include <sys/socket.h>