online helper enabled on haiku

This commit is contained in:
David Carlier 2020-07-25 13:52:59 +00:00
parent 833781cf52
commit d4a9f1c5b5

View File

@ -97,7 +97,7 @@ namespace Online
{
Log::error("OpenURL", "Command returned non-zero exit status");
}
#elif defined(__linux__) || defined(__FreeBSD__)
#elif defined(__linux__) || defined(__FreeBSD__) || defined(__HAIKU__)
std::string command = std::string("xdg-open ").append(url);
const char* lib_path = getenv("LD_LIBRARY_PATH");