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