aboutsummaryrefslogtreecommitdiff
path: root/zencore/thread.cpp
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-09-22 21:13:33 +0200
committerMartin Ridgers <[email protected]>2021-09-22 22:48:31 +0200
commit65e05a02dab8595a1576511e84d0f823d90ab809 (patch)
treeb35ee7b0bda565b6ba75bc1227c31a51890305fa /zencore/thread.cpp
parentCompile out Event methods on non-Windows platforms for now (diff)
downloadzen-65e05a02dab8595a1576511e84d0f823d90ab809.tar.xz
zen-65e05a02dab8595a1576511e84d0f823d90ab809.zip
Compile out ProcessHandle's methods on non-Windows for now
Diffstat (limited to 'zencore/thread.cpp')
-rw-r--r--zencore/thread.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/zencore/thread.cpp b/zencore/thread.cpp
index 30af79121..5bae36b1e 100644
--- a/zencore/thread.cpp
+++ b/zencore/thread.cpp
@@ -159,6 +159,8 @@ NamedMutex::Exists(std::string_view MutexName)
#endif // ZEN_PLATFORM_WINDOWS
+#if ZEN_PLATFORM_WINDOWS
+
//////////////////////////////////////////////////////////////////////////
ProcessHandle::ProcessHandle() = default;
@@ -258,6 +260,8 @@ ProcessHandle::Wait(int TimeoutMs)
return false;
}
+#endif // ZEN_PLATFORM_WINDOWS
+
//////////////////////////////////////////////////////////////////////////
ProcessMonitor::ProcessMonitor()