use getpid on windows from process.h
This commit is contained in:
parent
4fe987b774
commit
d8e683f17e
1 changed files with 2 additions and 1 deletions
|
@ -24,7 +24,8 @@
|
|||
#include <sys/resource.h>
|
||||
#include "libgen.h"
|
||||
#else
|
||||
#include <windows.h>
|
||||
#include <process.h>
|
||||
#define getpid _getpid
|
||||
#endif
|
||||
#include <sys/stat.h>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue