Use consistent ifdefs.

This commit is contained in:
Bartosz Taudul 2017-09-26 00:42:47 +02:00
parent e5ad7d9ac4
commit 1c4dcf7e52

View File

@ -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;