From 153bd108a209a102f4f99d20c531c8ebf3ef3a7a Mon Sep 17 00:00:00 2001 From: bubnikv Date: Mon, 17 Sep 2018 15:32:54 +0200 Subject: [PATCH] WIP fix of PostProcessor on Linux --- xs/src/libslic3r/GCode/PostProcessor.cpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/xs/src/libslic3r/GCode/PostProcessor.cpp b/xs/src/libslic3r/GCode/PostProcessor.cpp index f3b28f398..438d6d70b 100644 --- a/xs/src/libslic3r/GCode/PostProcessor.cpp +++ b/xs/src/libslic3r/GCode/PostProcessor.cpp @@ -1,18 +1,23 @@ #include "PostProcessor.hpp" -namespace Slic3r { #ifdef WIN32 +namespace Slic3r { + //FIXME Ignore until we include boost::process void run_post_process_scripts(const std::string &path, const PrintConfig &config) { } +} // namespace Slic3r + #else #include +namespace Slic3r { + void run_post_process_scripts(const std::string &path, const PrintConfig &config) { if (config.post_process.values.empty()) @@ -50,6 +55,6 @@ void run_post_process_scripts(const std::string &path, const PrintConfig &config } } -#endif - } // namespace Slic3r + +#endif