1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Wrap benaphore in tracy namespace, etc.

This commit is contained in:
Bartosz Taudul
2017-11-15 21:42:55 +01:00
parent f85facf2af
commit 100b814069
2 changed files with 11 additions and 5 deletions
+5 -2
View File
@@ -3,12 +3,14 @@
// https://github.com/preshing/cpp11-on-multicore/blob/master/LICENSE
//---------------------------------------------------------
#ifndef __CPP11OM_SEMAPHORE_H__
#define __CPP11OM_SEMAPHORE_H__
#ifndef __TRACY_CPP11OM_SEMAPHORE_H__
#define __TRACY_CPP11OM_SEMAPHORE_H__
#include <atomic>
#include <cassert>
namespace tracy
{
#if defined(_WIN32)
//---------------------------------------------------------
@@ -221,5 +223,6 @@ public:
typedef LightweightSemaphore DefaultSemaphoreType;
}
#endif // __CPP11OM_SEMAPHORE_H__