diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2008-01-23 18:47:16 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2008-01-23 18:47:16 +0000 |
commit | 91bd62c75a4c0289731b19109c9aa8b78ece2fa4 (patch) | |
tree | 9efdb4e77db563478fd822577b602cbdbd255c68 /gtk2_ardour | |
parent | 63736baaa170362d37a0b9a3d9c163d114095c8a (diff) |
OSX build fixes
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2957 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/cocoacarbon.mm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/cocoacarbon.mm b/gtk2_ardour/cocoacarbon.mm index b60352eb47..6317cec6c6 100644 --- a/gtk2_ardour/cocoacarbon.mm +++ b/gtk2_ardour/cocoacarbon.mm @@ -18,6 +18,8 @@ #include <Carbon/Carbon.h> #undef check // stupid, stupid carbon +#undef YES // stupid, stupid gtkmm and/or NSObjC +#undef NO // ditto #include "ardour_ui.h" #include "actions.h" @@ -117,6 +119,6 @@ ARDOUR_UI::platform_setup () /* if invoked from the command line, make sure we're visible */ - [NSApp activateIgnoringOtherApps:YES]; + [NSApp activateIgnoringOtherApps:1]; } } |