Commit de509ae9 authored by Sergey Lyubka's avatar Sergey Lyubka

Fix around pid_t for mingw, thanks to Jay

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