Use __APPLE__ to check OS platform
This commit is contained in:
parent
8d2388870a
commit
02e3b1577c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue