mirror of
https://github.com/minetest/minetest.git
synced 2024-11-30 19:43:45 +01:00
0a16e53b40
The initial problem was that mutex_auto_lock.h tries to use std::unique_lock<std::mutex> despite mutex.h not using C++11's std::mutex on Windows. The problem here is the mismatch between C++11 usage conditions of the two headers. This commit moves the decision logic to threads.h and makes sure mutex.h, mutex_auto_lock.h and event.h all use the same features. |
||
---|---|---|
.. | ||
atomic.h | ||
CMakeLists.txt | ||
event.cpp | ||
event.h | ||
mutex_auto_lock.h | ||
mutex.cpp | ||
mutex.h | ||
semaphore.cpp | ||
semaphore.h | ||
thread.cpp | ||
thread.h |