diff options
author | bubnikv <bubnikv@gmail.com> | 2018-09-17 16:32:54 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2018-09-17 16:32:54 +0300 |
commit | 153bd108a209a102f4f99d20c531c8ebf3ef3a7a (patch) | |
tree | 3066324f55ac93d8e66de743164f006c3cd8eea2 /xs/src/libslic3r | |
parent | fe3b92870f217a3356094a0a6ad60b25ccf18996 (diff) |
WIP fix of PostProcessor on Linux
Diffstat (limited to 'xs/src/libslic3r')
-rw-r--r-- | xs/src/libslic3r/GCode/PostProcessor.cpp | 11 |
1 files 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 <boost/process/system.hpp> +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 |