From 9c7d577b0e3aac70f6e1e8ce56f23c8c638c1514 2012-03-20 22:45:13 From: HanzZ Date: 2012-03-20 22:45:13 Subject: [PATCH] define getpid on windows --- diff --git a/plugin/cpp/networkplugin.cpp b/plugin/cpp/networkplugin.cpp index 94fc82c0f847e431d6554d38f4ac2da2be952709..1b7f448c12198bf9d2c622194b873e1d12e149a6 100644 --- a/plugin/cpp/networkplugin.cpp +++ b/plugin/cpp/networkplugin.cpp @@ -28,6 +28,8 @@ #else #include #include +#include +#define getpid _getpid #endif using namespace log4cxx;