1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 04:23:51 +00:00

Undo my previous change.

-D_WIN32_WINNT=0x601 must be defined when building TracyClient.cpp for mingw-w64 on Windows. In that case definitions I've added are not needed.
This commit is contained in:
Michal Ziulek 2021-09-17 11:34:40 +02:00 committed by GitHub
parent ad97854f12
commit 789328f73d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,21 +52,6 @@ static constexpr int GetSamplingPeriod()
# include "TracyProfiler.hpp"
# include "TracyThread.hpp"
// Note: Mingw-w64 currently does not provide below declarations so we add them here.
#ifdef __MINGW64__
#define EVENT_FILTER_TYPE_EVENT_ID 0x80000200
#define EVENT_ENABLE_PROPERTY_IGNORE_KEYWORD_0 0x010
typedef struct _EVENT_FILTER_EVENT_ID {
BOOLEAN FilterIn;
UCHAR Reserved;
USHORT Count;
USHORT Events[ANYSIZE_ARRAY];
} EVENT_FILTER_EVENT_ID, *PEVENT_FILTER_EVENT_ID;
#endif
namespace tracy
{