diff --git a/libs/ardour/filesystem_paths.cc b/libs/ardour/filesystem_paths.cc index 1d1bd125dd..579f346e65 100644 --- a/libs/ardour/filesystem_paths.cc +++ b/libs/ardour/filesystem_paths.cc @@ -290,13 +290,14 @@ ardour_data_search_path () search_path += user_config_directory(); #ifdef PLATFORM_WINDOWS search_path += windows_search_path (); -#endif +#else std::string s = Glib::getenv("ARDOUR_DATA_PATH"); if (s.empty()) { std::cerr << _("ARDOUR_DATA_PATH not set in environment\n"); } else { search_path += Searchpath (s); } +#endif } return search_path;