mirror of
https://github.com/cesanta/mongoose.git
synced 2025-08-06 13:37:34 +08:00
Fix around pid_t for mingw, thanks to Jay
This commit is contained in:
parent
77817cd019
commit
de509ae952
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user