Trying to fix the windows build

This commit is contained in:
Vojtech Bubnik committed 2021-09-07 17:31:36 +02:00
1 parent eb2debc2c6
commit 152e236dda
2 files changed
+7 -3

No files matched your search

+4
View File
@@ -2642,6 +2642,10 @@ std::string GCode::extrude_support(const ExtrusionEntityCollection &support_fill
return gcode;
}
bool GCode::GCodeOutputStream::is_error() const { return ::ferror(f); }
void GCode::GCodeOutputStream::flush() { ::fflush(f); }
void GCode::GCodeOutputStream::close() { if (f) ::fclose(f); }
void GCode::GCodeOutputStream::write(const char *what)
{
if (what != nullptr) {