diff --git a/src/slic3r/GUI/StatusPanel.cpp b/src/slic3r/GUI/StatusPanel.cpp index 948c79413..8bd5b408d 100644 --- a/src/slic3r/GUI/StatusPanel.cpp +++ b/src/slic3r/GUI/StatusPanel.cpp @@ -3936,9 +3936,9 @@ void StatusPanel::on_set_chamber_temp() } /*the dialog will be blocked APPLE, let the printer send back message*/ -#ifndef _APPLE +#ifndef __APPLE__ if (champer_switch_head_dlg->ShowModal() != wxID_OK) { return; } -#endif // _APPLE +#endif // __APPLE__ } obj->command_set_chamber(chamber_temp);