mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-14 03:11:29 +08:00
Fix non-windows build (#9509)
This commit is contained in:
parent
9913736b41
commit
032e6c8580
@ -6033,6 +6033,7 @@ bool CLI::setup(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void attach_console_on_demand(){
|
void attach_console_on_demand(){
|
||||||
|
#ifdef _WIN32
|
||||||
static bool console_attached = false;
|
static bool console_attached = false;
|
||||||
|
|
||||||
if (!console_attached) {
|
if (!console_attached) {
|
||||||
@ -6072,6 +6073,7 @@ void attach_console_on_demand(){
|
|||||||
boost::nowide::cin.clear();
|
boost::nowide::cin.clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
void CLI::print_help(bool include_print_options, PrinterTechnology printer_technology) const
|
void CLI::print_help(bool include_print_options, PrinterTechnology printer_technology) const
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user