diff --git a/src/pEpLog.hh b/src/pEpLog.hh index 54eb095..74f9b56 100644 --- a/src/pEpLog.hh +++ b/src/pEpLog.hh @@ -12,9 +12,10 @@ #ifdef WIN32 #include // TODO: once this works, move this to pEpEngine platform_windows.h and file a PR - #ifndef getpid - #define getpid() _getpid() + #ifdef getpid + #undef getpid #endif + #define getpid() _getpid() #else #include