diff --git a/src/thread/Mutex.hxx b/src/thread/Mutex.hxx index 4d6e7a38a..d08e7ae94 100644 --- a/src/thread/Mutex.hxx +++ b/src/thread/Mutex.hxx @@ -10,10 +10,12 @@ #include "CriticalSection.hxx" using Mutex = CriticalSection; +using RecursiveMutex = CriticalSection; #else using Mutex = std::mutex; +using RecursiveMutex = std::recursive_mutex; #endif