Fix compilation with old SLV2.
authorDavid Robillard <d@drobilla.net>
Tue, 8 Mar 2011 22:43:02 +0000 (22:43 +0000)
committerDavid Robillard <d@drobilla.net>
Tue, 8 Mar 2011 22:43:02 +0000 (22:43 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@9109 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/lv2_plugin_ui.cc

index 98ccedce6a82507fed85d4785e03993e78b1b6ff..3a73453dbe5622fa366551f46676d2fafb44c1fe 100644 (file)
@@ -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,