define getpid on windows
This commit is contained in:
parent
9c7d577b0e
commit
e910508a9c
1 changed files with 2 additions and 0 deletions
|
@ -43,6 +43,8 @@
|
|||
#include "libgen.h"
|
||||
#else
|
||||
#include <windows.h>
|
||||
#include <process.h>
|
||||
#define getpid _getpid
|
||||
#endif
|
||||
|
||||
using namespace boost::filesystem;
|
||||
|
|
Loading…
Add table
Reference in a new issue