From c7ca5a366badbc2303d63c47df4f90e801e8d351 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=8B=D1=87=D0=BA=D0=BE=D0=B2=20=D0=90=D0=BD=D0=B4?= =?UTF-8?q?=D1=80=D0=B5=D0=B9?= Date: Wed, 6 Feb 2019 13:25:17 +0000 Subject: [PATCH] git-svn-id: svn://db.shs.com.ru/pip@692 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5 --- src_main/system/pisystemmonitor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src_main/system/pisystemmonitor.cpp b/src_main/system/pisystemmonitor.cpp index 6c5a463f..7f734fdb 100755 --- a/src_main/system/pisystemmonitor.cpp +++ b/src_main/system/pisystemmonitor.cpp @@ -57,6 +57,7 @@ PISystemMonitor::PISystemMonitor(): PIThread() { self_ = false; pID_ = cycle = 0; cpu_count = PISystemInfo::instance()->processorsCount; +#ifndef FREERTOS #ifndef WINDOWS # ifdef QNX page_size = 4096; @@ -66,6 +67,7 @@ PISystemMonitor::PISystemMonitor(): PIThread() { #else PRIVATE->hProc = 0; PRIVATE->mem_cnt.cb = sizeof(PRIVATE->mem_cnt); +#endif #endif setName("system_monitor"); }