GTKOSX is not a valid check. Use __APPLE__

This commit is contained in:
Ben Loftis 2018-02-15 16:32:37 -06:00
parent f54f270627
commit 5200885fb8
3 changed files with 4 additions and 4 deletions

View file

@ -132,7 +132,7 @@ ARDOUR_UI::connect_dependents_to_session (ARDOUR::Session *s)
gint
ARDOUR_UI::exit_on_main_window_close (GdkEventAny * /*ev*/)
{
#ifdef GTKOSX
#ifdef __APPLE__
/* just hide the window, and return - the top menu stays up */
editor->hide ();
return TRUE;