From 1c4dcf7e52c91f680f5622c83867a433d40d7fc2 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 26 Sep 2017 00:42:47 +0200 Subject: [PATCH] Use consistent ifdefs. --- common/TracySystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/TracySystem.cpp b/common/TracySystem.cpp index 3d247720..b45abc6c 100755 --- a/common/TracySystem.cpp +++ b/common/TracySystem.cpp @@ -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;