mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-24 23:51:05 +00:00
25 lines
255 B
C++
25 lines
255 B
C++
#ifndef __TRACYMUTEX_HPP__
|
|
#define __TRACYMUTEX_HPP__
|
|
|
|
#if defined _MSC_VER
|
|
|
|
# include <shared_mutex>
|
|
|
|
namespace tracy
|
|
{
|
|
using TracyMutex = std::shared_mutex;
|
|
}
|
|
|
|
#else
|
|
|
|
#include <mutex>
|
|
|
|
namespace tracy
|
|
{
|
|
using TracyMutex = std::mutex;
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|