From e1bc73157063a048e43c0e2a2af3aea56c7f8c66 Mon Sep 17 00:00:00 2001 From: Victor Zarubkin Date: Mon, 1 May 2017 04:03:26 +0300 Subject: [PATCH] #37 enclosed MinGW specific --- easy_profiler_core/event_trace_win.cpp | 4 ++++ profiler_gui/blocks_tree_widget.cpp | 4 ++++ profiler_gui/descriptors_tree_widget.cpp | 4 ++++ profiler_gui/tree_widget_loader.cpp | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/easy_profiler_core/event_trace_win.cpp b/easy_profiler_core/event_trace_win.cpp index 25ab915..2d4d821 100644 --- a/easy_profiler_core/event_trace_win.cpp +++ b/easy_profiler_core/event_trace_win.cpp @@ -66,7 +66,11 @@ #include "event_trace_win.h" #include + +#ifdef __MINGW32__ #include +#endif + //#include #if EASY_OPTION_LOG_ENABLED != 0 diff --git a/profiler_gui/blocks_tree_widget.cpp b/profiler_gui/blocks_tree_widget.cpp index 4a35859..f9b4755 100644 --- a/profiler_gui/blocks_tree_widget.cpp +++ b/profiler_gui/blocks_tree_widget.cpp @@ -82,9 +82,13 @@ #ifdef _WIN32 #include + +#ifdef __MINGW32__ #include #endif +#endif + #ifdef max #undef max #endif diff --git a/profiler_gui/descriptors_tree_widget.cpp b/profiler_gui/descriptors_tree_widget.cpp index 24505c1..bba73a9 100644 --- a/profiler_gui/descriptors_tree_widget.cpp +++ b/profiler_gui/descriptors_tree_widget.cpp @@ -74,9 +74,13 @@ #ifdef _WIN32 #include + +#ifdef __MINGW32__ #include #endif +#endif + #ifdef max #undef max #endif diff --git a/profiler_gui/tree_widget_loader.cpp b/profiler_gui/tree_widget_loader.cpp index c32e7ae..b3cbaea 100644 --- a/profiler_gui/tree_widget_loader.cpp +++ b/profiler_gui/tree_widget_loader.cpp @@ -60,9 +60,13 @@ #ifdef _WIN32 #include + +#ifdef __MINGW32__ #include #endif +#endif + #ifdef max #undef max #endif