Winsock does not provide `ssize_t`; Use `int` instead.

parent 2db06c47
......@@ -12,6 +12,7 @@
#include <windows.h>
#define SHUT_RDWR SD_BOTH
typedef int ssize_t;
#else
#include <sys/types.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