add definition for pid_t on MSVC

This commit is contained in:
Yasuhiro Matsumoto
2017-12-12 18:38:02 +09:00
parent d549603a8a
commit 06ec17de60
+4
View File
@@ -35,6 +35,10 @@
#include <unistd.h>
#endif
#ifdef _MSC_VER
typedef int pid_t;
#endif
#include <fcntl.h>
#include <errno.h>