move assignments out of assert() in editor_drag (thanks lincoln); change mouse mode...
[ardour.git] / gtk2_ardour / plugin_selector.cc
index 705146eccd048e03360a235164444498cbf91ba7..7ebe778ecb689dc2a9a670bafc8c04499aa7d645 100644 (file)
@@ -16,6 +16,9 @@
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
 */
+#ifdef WAF_BUILD
+#include "gtk2ardour-config.h"
+#endif
 
 #include <cstdio>
 #include <lrdf.h>
@@ -333,7 +336,11 @@ PluginSelector::lv2_refiller (const std::string& filterstr)
 }
 
 void
+#ifdef VST_SUPPORT
 PluginSelector::vst_refiller (const std::string& filterstr)
+#else
+PluginSelector::vst_refiller (const std::string&)
+#endif
 {
 #ifdef VST_SUPPORT
        refiller (manager->vst_plugin_info(), filterstr, "VST");
@@ -341,7 +348,11 @@ PluginSelector::vst_refiller (const std::string& filterstr)
 }
 
 void
+#ifdef HAVE_AUDIOUNITS
 PluginSelector::au_refiller (const std::string& filterstr)
+#else
+PluginSelector::au_refiller (const std::string&)
+#endif 
 {
 #ifdef HAVE_AUDIOUNITS
        refiller (manager->au_plugin_info(), filterstr, "AU");