Fix compilation on Windows

This commit is contained in:
Alessandro Ranellucci 2015-11-06 10:43:11 +01:00
parent 9f9b5afedb
commit 97bf69ba7f
3 changed files with 16 additions and 10 deletions

View file

@ -420,9 +420,11 @@ GCodeSender::do_send(const std::string &line)
this->can_send = false;
}
}
#ifdef SLIC3RXS
REGISTER_CLASS(GCodeSender, "GCode::Sender");
#include <myinit.h>
__REGISTER_CLASS(Slic3r::GCodeSender, "GCode::Sender");
#endif
}
#endif