define getpid on windows
This commit is contained in:
parent
e910508a9c
commit
2bf17991b5
1 changed files with 5 additions and 0 deletions
|
@ -24,6 +24,11 @@
|
|||
#include <event.h>
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#include <process.h>
|
||||
#define getpid _getpid
|
||||
#endif
|
||||
|
||||
using namespace log4cxx;
|
||||
|
||||
static LoggerPtr logger_libpurple = log4cxx::Logger::getLogger("libpurple");
|
||||
|
|
Loading…
Add table
Reference in a new issue