From 8df27293a17407985f0faa5b9c2cc508626037c7 Mon Sep 17 00:00:00 2001 From: Martin Ridgers Date: Wed, 22 Sep 2021 21:14:12 +0200 Subject: Compile out ProcessMonitor's methods on non-Windows for now --- zencore/thread.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'zencore/thread.cpp') diff --git a/zencore/thread.cpp b/zencore/thread.cpp index 5bae36b1e..748a0b146 100644 --- a/zencore/thread.cpp +++ b/zencore/thread.cpp @@ -264,6 +264,8 @@ ProcessHandle::Wait(int TimeoutMs) ////////////////////////////////////////////////////////////////////////// +#if ZEN_PLATFORM_WINDOWS + ProcessMonitor::ProcessMonitor() { } @@ -327,6 +329,8 @@ ProcessMonitor::IsActive() const return m_ProcessHandles.empty() == false; } +#endif // ZEN_PLATFORM_WINDOWS + ////////////////////////////////////////////////////////////////////////// bool -- cgit v1.2.3