Unverified Commit a9e434e6 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #3883 from mattn/fix-ssize_t

fix build on mingw
parents 9c0426c9 99328695
......@@ -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>
......
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