From 9377013824e900d3344b3db057ff330ed95d82aa Mon Sep 17 00:00:00 2001
From: YuSanka <yusanka@gmail.com>
Date: Wed, 23 Sep 2020 08:33:16 +0200
Subject: [PATCH] Fixed non-MSW builds

---
 src/slic3r/GUI/GUI_App.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/slic3r/GUI/GUI_App.cpp b/src/slic3r/GUI/GUI_App.cpp
index 0e4e1c897..14fabc3ed 100644
--- a/src/slic3r/GUI/GUI_App.cpp
+++ b/src/slic3r/GUI/GUI_App.cpp
@@ -99,8 +99,10 @@ public:
         auto process_duration = std::chrono::milliseconds(stop_timer - start_timer).count();
         std::string out = (boost::format("\n!!! %1% duration = %2% ms \n\n") % task_name % process_duration).str();
         printf(out.c_str());
+#ifdef __WXMSW__
         std::wstring stemp = std::wstring(out.begin(), out.end());
         OutputDebugString(stemp.c_str());
+#endif
     }
 };