Commit 99328695 authored by Yasuhiro Matsumoto's avatar Yasuhiro Matsumoto

fix build on mingw

parent 9c0426c9
...@@ -12,7 +12,9 @@ ...@@ -12,7 +12,9 @@
#include <windows.h> #include <windows.h>
#define SHUT_RDWR SD_BOTH #define SHUT_RDWR SD_BOTH
#ifndef _SSIZE_T_DEFINED
typedef int ssize_t; typedef int ssize_t;
#endif
#else #else
#include <sys/types.h> #include <sys/types.h>
#include <sys/socket.h> #include <sys/socket.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment