From d8e683f17ea1cf88f0d91523b168160eb131f1ac Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 21 Mar 2012 20:08:38 +0400 Subject: [PATCH] use getpid on windows from process.h --- spectrum/src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spectrum/src/main.cpp b/spectrum/src/main.cpp index 82540d11..2b85e398 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