This commit is contained in:
Vitaly Takmazov 2012-03-21 00:53:21 +04:00
commit e601491142
3 changed files with 9 additions and 0 deletions

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

View file

@ -28,6 +28,8 @@
#else
#include <winsock2.h>
#include <stdint.h>
#include <process.h>
#define getpid _getpid
#endif
using namespace log4cxx;

View file

@ -43,6 +43,8 @@
#include "libgen.h"
#else
#include <windows.h>
#include <process.h>
#define getpid _getpid
#endif
using namespace boost::filesystem;