define getpid on windows

This commit is contained in:
HanzZ 2012-03-20 22:51:17 +01:00
parent e910508a9c
commit 2bf17991b5

View file

@ -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");