mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-11-22 21:43:49 +00:00
changed the WIN32 macro in microprofileui (#2528)
I changed the macro in microprofileui.h from WIN32 to _WIN32 so that it would correctly dectect that its being compiled on a windows platform
This commit is contained in:
parent
9590c932ec
commit
2509c44078
1 changed files with 1 additions and 1 deletions
2
externals/microprofile/microprofileui.h
vendored
2
externals/microprofile/microprofileui.h
vendored
|
@ -1231,7 +1231,7 @@ void MicroProfileDrawDetailedBars(uint32_t nWidth, uint32_t nHeight, int nBaseY,
|
||||||
char ThreadName[MicroProfileThreadLog::THREAD_MAX_LEN + 16];
|
char ThreadName[MicroProfileThreadLog::THREAD_MAX_LEN + 16];
|
||||||
const char* cLocal = MicroProfileIsLocalThread(nThreadId) ? "*": " ";
|
const char* cLocal = MicroProfileIsLocalThread(nThreadId) ? "*": " ";
|
||||||
|
|
||||||
#if defined(WIN32)
|
#if defined(_WIN32)
|
||||||
// nThreadId is 32-bit on Windows
|
// nThreadId is 32-bit on Windows
|
||||||
int nStrLen = snprintf(ThreadName, sizeof(ThreadName)-1, "%04x: %s%s", nThreadId, cLocal, i < nNumThreadsBase ? &S.Pool[i]->ThreadName[0] : MICROPROFILE_THREAD_NAME_FROM_ID(nThreadId) );
|
int nStrLen = snprintf(ThreadName, sizeof(ThreadName)-1, "%04x: %s%s", nThreadId, cLocal, i < nNumThreadsBase ? &S.Pool[i]->ThreadName[0] : MICROPROFILE_THREAD_NAME_FROM_ID(nThreadId) );
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue