mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Use consistent ifdefs.
This commit is contained in:
parent
e5ad7d9ac4
commit
1c4dcf7e52
@ -77,7 +77,7 @@ void SetThreadName( std::thread& thread, const char* name )
|
||||
const char* GetThreadName( uint64_t id )
|
||||
{
|
||||
static char buf[256];
|
||||
#ifdef _MSC_VER
|
||||
#ifdef _WIN32
|
||||
# ifdef NTDDI_WIN10_RS2
|
||||
auto hnd = OpenThread( THREAD_QUERY_LIMITED_INFORMATION, FALSE, (DWORD)id );
|
||||
PWSTR tmp;
|
||||
|
Loading…
Reference in New Issue
Block a user