define getpid on windows

This commit is contained in:
HanzZ 2012-03-20 22:45:13 +01:00
parent 661f59cdb2
commit 9c7d577b0e

View file

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