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_)
|
if (auto_open_)
|
||||||
{
|
{
|
||||||
std::ostringstream s;
|
std::ostringstream s;
|
||||||
#ifdef DARWIN
|
#ifdef __APPLE__
|
||||||
s << "open " << png_name;
|
s << "open " << png_name;
|
||||||
#else
|
#else
|
||||||
s << "xdg-open " << png_name;
|
s << "xdg-open " << png_name;
|
||||||
|
|
Loading…
Reference in a new issue