Use __APPLE__ to check OS platform

This commit is contained in:
Artem Pavlenko 2024-03-07 09:09:56 +00:00
parent 8d2388870a
commit 02e3b1577c

View file

@ -133,7 +133,7 @@ struct main_marker_visitor
if (auto_open_)
{
std::ostringstream s;
#ifdef DARWIN
#ifdef __APPLE__
s << "open " << png_name;
#else
s << "xdg-open " << png_name;