Fix around pid_t for mingw, thanks to Jay

This commit is contained in:
Sergey Lyubka 2014-01-28 20:09:12 +00:00
parent 77817cd019
commit de509ae952

View File

@ -51,7 +51,7 @@
#include <io.h> // For _lseeki64
#include <direct.h> // For _mkdir
typedef int socklen_t;
#ifndef pid_t
#if !defined(__MINGW32__) || !defined(_PID_T_) || defined(_NO_OLDNAMES)
typedef HANDLE pid_t;
#endif
typedef SOCKET sock_t;