summaryrefslogtreecommitdiff
path: root/gtk2_ardour/plugin_ui.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-12-02 20:03:03 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-12-02 20:03:03 +0000
commit07b4626ea5565d0c245c4a233a07257fc285ae64 (patch)
treefa32029e01f94b4ce6e4e3b4e1fb6039aa2c74e2 /gtk2_ardour/plugin_ui.cc
parentd05a09991aa16b50f849aceb3524f859941751b1 (diff)
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
Diffstat (limited to 'gtk2_ardour/plugin_ui.cc')
-rw-r--r--gtk2_ardour/plugin_ui.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/plugin_ui.cc b/gtk2_ardour/plugin_ui.cc
index c71fd1980d..9774d3dc46 100644
--- a/gtk2_ardour/plugin_ui.cc
+++ b/gtk2_ardour/plugin_ui.cc
@@ -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) {