Files
cpp-project-template/third_party/tracy/public/common/TracyMutex.hpp

25 lines
255 B
C++
Raw Normal View History

2025-08-25 15:24:22 +08:00
#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