--- src/slic3r/GUI/ConfigWizard.hpp.orig 2023-07-25 09:21:21 UTC +++ src/slic3r/GUI/ConfigWizard.hpp @@ -22,7 +22,7 @@ namespace DownloaderUtils { wxWindow* m_parent{ nullptr }; wxTextCtrl* m_input_path{ nullptr }; bool downloader_checked{ false }; -#ifdef __linux__ +#if defined(__linux__) || defined(__FreeBSD__) bool perform_registration_linux{ false }; #endif // __linux__ @@ -41,7 +41,7 @@ namespace DownloaderUtils { bool on_finish(); bool perform_register(const std::string& path_override = {}); -#ifdef __linux__ +#if defined(__linux__) || defined(__FreeBSD__) bool get_perform_registration_linux() { return perform_registration_linux; } #endif // __linux__ };