From 789328f73d309fc5015ea4f569cb783fec16507a Mon Sep 17 00:00:00 2001 From: Michal Ziulek Date: Fri, 17 Sep 2021 11:34:40 +0200 Subject: [PATCH] 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. --- client/TracySysTrace.cpp | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/client/TracySysTrace.cpp b/client/TracySysTrace.cpp index ffe0ea5f..5272f1fc 100644 --- a/client/TracySysTrace.cpp +++ b/client/TracySysTrace.cpp @@ -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 {