Skip to content

Commit dd5c65d

Browse files
author
lizzie
committed
predef
1 parent 9c0cd5f commit dd5c65d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

renderdoc/os/os_specific.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,11 @@ struct Semaphore
157157
~Semaphore();
158158

159159
private:
160+
#if !defined(__APPLE__) && !defined(_WIN32) && !defined(__linux__)
160161
std::mutex m_semaphore_mutex{};
161162
std::condition_variable m_condition_variable{};
162163
uint32_t m_count{};
164+
#endif
163165
};
164166

165167
// must typedef CriticalSectionTemplate<X> CriticalSection

0 commit comments

Comments
 (0)