diff options
| author | Martin Ridgers <[email protected]> | 2021-09-22 21:14:12 +0200 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2021-09-22 22:48:31 +0200 |
| commit | 8df27293a17407985f0faa5b9c2cc508626037c7 (patch) | |
| tree | 8ccd68026eebcceaff2b0a4783467bfde7b2c52a /zencore/thread.cpp | |
| parent | Compile out ProcessHandle's methods on non-Windows for now (diff) | |
| download | zen-8df27293a17407985f0faa5b9c2cc508626037c7.tar.xz zen-8df27293a17407985f0faa5b9c2cc508626037c7.zip | |
Compile out ProcessMonitor's methods on non-Windows for now
Diffstat (limited to 'zencore/thread.cpp')
| -rw-r--r-- | zencore/thread.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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 |