From d8e683f17ea1cf88f0d91523b168160eb131f1ac 2012-03-21 17:08:38 From: Vitaly Takmazov Date: 2012-03-21 17:08:38 Subject: [PATCH] use getpid on windows from process.h --- diff --git a/spectrum/src/main.cpp b/spectrum/src/main.cpp index 82540d1124573ce29e389f51f262c5b3076e3093..2b85e39843b855de36de7123f7e04f1fee430f59 100644 --- a/spectrum/src/main.cpp +++ b/spectrum/src/main.cpp @@ -24,7 +24,8 @@ #include #include "libgen.h" #else -#include +#include +#define getpid _getpid #endif #include