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"); }