diff options
| author | Martin Ridgers <[email protected]> | 2021-09-22 21:12:09 +0200 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2021-09-22 22:48:31 +0200 |
| commit | 50d5945d66ff95a7f417270240c7b9077ca556d0 (patch) | |
| tree | 0b04a35f171f1207936ecfff92430cb44140b299 /zencore/thread.cpp | |
| parent | Missing include compile fix (diff) | |
| download | zen-50d5945d66ff95a7f417270240c7b9077ca556d0.tar.xz zen-50d5945d66ff95a7f417270240c7b9077ca556d0.zip | |
Compile out Event methods on non-Windows platforms 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 ded180337..30af79121 100644 --- a/zencore/thread.cpp +++ b/zencore/thread.cpp @@ -40,6 +40,8 @@ RwLock::ReleaseExclusive() ////////////////////////////////////////////////////////////////////////// +#if ZEN_PLATFORM_WINDOWS + Event::Event() { m_EventHandle = CreateEvent(nullptr, true, false, nullptr); @@ -155,6 +157,8 @@ NamedMutex::Exists(std::string_view MutexName) return true; } +#endif // ZEN_PLATFORM_WINDOWS + ////////////////////////////////////////////////////////////////////////// ProcessHandle::ProcessHandle() = default; |