mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
Making mingw check more explicit
This commit is contained in:
parent
45bd17b7e8
commit
80a9865bbf
@ -265,7 +265,7 @@ void WINAPI EventRecordCallbackVsync( PEVENT_RECORD record )
|
|||||||
|
|
||||||
static void SetupVsync()
|
static void SetupVsync()
|
||||||
{
|
{
|
||||||
#if _WIN32_WINNT >= _WIN32_WINNT_WINBLUE && !__MINGW32__
|
#if _WIN32_WINNT >= _WIN32_WINNT_WINBLUE && !defined(__MINGW32__)
|
||||||
const auto psz = sizeof( EVENT_TRACE_PROPERTIES ) + MAX_PATH;
|
const auto psz = sizeof( EVENT_TRACE_PROPERTIES ) + MAX_PATH;
|
||||||
s_propVsync = (EVENT_TRACE_PROPERTIES*)tracy_malloc( psz );
|
s_propVsync = (EVENT_TRACE_PROPERTIES*)tracy_malloc( psz );
|
||||||
memset( s_propVsync, 0, sizeof( EVENT_TRACE_PROPERTIES ) );
|
memset( s_propVsync, 0, sizeof( EVENT_TRACE_PROPERTIES ) );
|
||||||
|
Loading…
Reference in New Issue
Block a user