From 785e32237dcb4e13ab16217b3361d89a77e956d8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 8 Mar 2011 22:43:02 +0000 Subject: [PATCH] Fix compilation with old SLV2. git-svn-id: svn://localhost/ardour2/branches/3.0@9109 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/lv2_plugin_ui.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk2_ardour/lv2_plugin_ui.cc b/gtk2_ardour/lv2_plugin_ui.cc index 98ccedce6a..3a73453dbe 100644 --- a/gtk2_ardour/lv2_plugin_ui.cc +++ b/gtk2_ardour/lv2_plugin_ui.cc @@ -30,7 +30,9 @@ using namespace Gtk; using namespace ARDOUR; using namespace PBD; +#ifdef HAVE_NEW_SLV2 SLV2UIHost LV2PluginUI::ui_host = NULL; +#endif void LV2PluginUI::lv2_ui_write(LV2UI_Controller controller, -- 2.30.2