diff --git a/utils/svg2png/svg2png.cpp b/utils/svg2png/svg2png.cpp index 7a9d378a1..93060fde6 100644 --- a/utils/svg2png/svg2png.cpp +++ b/utils/svg2png/svg2png.cpp @@ -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;