build changes from robin gareus for OS X, changing AU support to be used appropriately rather than GTKOSX

git-svn-id: svn://localhost/ardour2/branches/3.0@10869 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-12-02 20:03:03 +00:00
parent d05a09991a
commit 07b4626ea5
3 changed files with 9 additions and 4 deletions

View file

@ -313,13 +313,13 @@ PluginUIWindow::create_lxvst_editor(boost::shared_ptr<PluginInsert>)
}
bool
#ifdef GTKOSX
#ifdef AUDIOUNIT_SUPPORT
PluginUIWindow::create_audiounit_editor (boost::shared_ptr<PluginInsert> insert)
#else
PluginUIWindow::create_audiounit_editor (boost::shared_ptr<PluginInsert>)
#endif
{
#ifndef GTKOSX
#ifndef AUDIOUNIT_SUPPORT
return false;
#else
VBox* box;
@ -340,7 +340,7 @@ PluginUIWindow::app_activated (bool yn)
PluginUIWindow::app_activated (bool)
#endif
{
#ifdef GTKOSX
#ifdef AUDIOUNIT_SUPPORT
if (_pluginui) {
if (yn) {
if (was_visible) {