diff --git a/src/slic3r/GUI/RemovableDriveManager.cpp b/src/slic3r/GUI/RemovableDriveManager.cpp index 74dc76415..a1247f3a0 100644 --- a/src/slic3r/GUI/RemovableDriveManager.cpp +++ b/src/slic3r/GUI/RemovableDriveManager.cpp @@ -203,7 +203,7 @@ namespace search_for_drives_internal } } -#if 0 +#if ! __APPLE__ static void search_path(const std::string &path, const std::string &parent_path, std::vector &out) { glob_t globbuf; @@ -218,7 +218,7 @@ namespace search_for_drives_internal } globfree(&globbuf); } -#endif +#endif // ! __APPLE__ } std::vector RemovableDriveManager::search_for_removable_drives() const